>and it became a crime where all the facts could be identical to a pharmacy dispensing a script, but sans paying for a DEA license.
That describes a bunch of crimes? If you raid a drug dealer's house and kill a bunch of people in the process, you'll go to jail. If it's the police doing it with a "license" (ie. a warrant), it's suddenly fine. More banal is you driving along, following all applicable laws and causing no issues, but if you're doing it without a license or insurance, it's suddenly illegal.