Such cables aren't prohibited; they just don't comply with USB-IF and can't be certified. The idea that such cables are prohibited is a myth.
However, A-A or AA cables have been used by manufacturers since USB 1.1 for special inter-device connections, control, firmware updates, etc. Often, they were simply used to prevent a device from being accidentally connected somewhere.
USB switches with USB A connectors on the input and output have been around for a long time; I had one in my hand 20 years ago.
Of course, such cables were never intended for host-to-host connections. If someone needs such an A-A cable, they should know exactly why and for what purpose.
Even reputable and certified manufacturers, such as Lindy and others, have always offered such cables, but of course, they were uncertified.