I think that every even smaller city in Morocco had at least one its own Royal Palace.
They are usually located in the cleanest area of each city or rather opposite: the areas around every Royal Palace are well-kept and always clean. The same in Casablanca where the Royal Palace is located behind tall wall in La Nouvelle Medina (Quartier des Habous).
There is no possibility to enter the Palace, more: even taking pics is forbidden as you could see on my picture :-). Sorry, the palace was behind this wall and gate on the picture - no way to see anything more, should I learn to fly?
Hmm.. I was not a paparazzi to spy a king. And there were so many royal palaces in Morocco, who knows in which of them was the king that time?