Funny story once me and a few boys were travelling from agadir to Marrakesh via taxi. I have a feeling the taxi guy tipped of the police at one checkpoint and they stopped the car and searched it. Found a bottle of JD as it was our fist time a bit of worried back and forth took place and we had to tip the police to let us go with the bottle in hand.
Once the police took the money they came back to the car and gave us all viagra pills and started laughing at us saying enjoy the rest of your trip, after that I realised anything goes in that country, turns out wasn’t even illegal to carry a bottle but they prey on the vulnerable.