These are called Exclaves and there's way more of them than you might think. I think this isn't the only double Exclaves either. There are so many border fuckery things around the world, even in countries you might not expect, I want to make a YouTube video on them, I'm obsessed with finding them on google maps.
Take a look at the border of Nederland and België for an extreme example:
