Spain has another land border.
Anecdote time: A few years ago we made a math exposition and we wanted to show something about the Four Color Theorem. We were advice to not use a real map, because each country has their own claims and somebody somewhere may complain.
Yes that confused me too. If they included Morocco, then France should border Brazil and Suriname.