Spain has said it has forcibly removed Moroccan troops who set up an observation post last week on a disputed island off Morocco's Mediterranean coast.

About a dozen Moroccan soldiers were on the island of Perejil.

The Spanish government said in a statement the operation to remove the Moroccans had been carried out without any injuries to either side.

It said it had informed its allies of the move.