I had a mountain guide with me on a pre-trip in Fes before going to the mountains with the company he worked for. He absolutely refused to go into the souk with me for fear of the undercover police catching him and fining him, would only tag along when I had an activity with a city guide.
He referenced the crackdown by Mohammed 6 to make Morocco more tourist friendly.