A similar example is[1], an island that every six months switches ownership between France and Spain. So which country it belongs to depends on when you look at it.
I was hoping the wiki article would explain why France and Spain have this arrangement but the only treaties mentioned are the ones signed on the island itself.
It seems like something that would be trivial to resolve, but I sense the novelty of the situation is more valuable than any hassles that arise from the peculiarities of the situation.