This is a core Joomla bug, now fully confirmed.
Joomla defines class aliases for the deprecated Joomla\CMS\Filesystem\* classes, mapping them to the modern Joomla\Filesystem\* classes.
Our software uses the modern classes as Joomla explicitly instructs is in its official documentation, see Joomla’s “New Deprecations” migration guide:
In most cases you only have to change the namespace from Joomla\CMS\Filesystem\* to Joomla\Filesystem\*.
That is to say, we are following Joomla’s own instructions here, not doing anything unsupported.
The real root cause of the problem is that Joomla erroneously ships the concrete Joomla\CMS\Filesystem\* classes in files under the libraries/src/Filesystem directory.
Since Loader::applyAliasFor() in libraries/loader.php (lines 570–579) calls class_alias() without first checking whether the alias already exists, this creates the core Joomla bug.
Admin Tools in itself does not have a bug. We are doing what Joomla asks us to do. The problem is that Joomla does not do what it is supposed to do. When an alias is introduced, the concrete class file MUST be removed to avoid exactly this kind of issue. This is the exact bug reported in issue #46652.
While the proposed fix for this issue (pull request joomla-cms#46300) was architecturally wrong, the underlying core Joomla bug is very real and it's what is biting you now.
Since this is a core Joomla bug, we do not have any way to address it. Moreover, since the Joomla project has blocked us from contributing, we have no way to even report it. Please submit an issue to Joomla's GitHub and point them to this public ticket. It should be very obvious to them what is going on and how to fix it. In case it's not obvious to someone, the correct fix is deleting the obsolete libraries/src/Filesystem directory and all its contents, as it should've been done in Joomla 6.0.0.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!