It was spaniard land, with spaniard habitants, stolen after a war some centuries ago, so it's a colonial subject. The Gibraltar people obviously want to stay as they are now, with their economic "special status".
Hey, but do I care?, I am internationalist