The city of Rabat, where the Moroccan royal family is based, has been adorned with Spanish and Moroccan flags waving one next to the other.