BBC: Morocco's king has strongly condemned the visit by the Spanish monarch to the disputed Spanish enclaves of Ceuta and Melilla on the north Moroccan coast.
King Mohammed VI said it had hurt the feelings of the Moroccan people.
In a rare statement to cabinet, he said the unprecedented visit by King Juan Carlos was offensive and jeopardised future relations between the countries.
Morocco has long been demanding control over the two enclaves, which have been Spanish for some 400 years.
This is the first time the Spanish king has visited Ceuta and Melilla as head of state in his 32-year reign.
Morocco withdrew its ambassador from Madrid in protest. Morocco king condemns royal visit (more)
Mark Alexander