Afghanistan is land locked.
I know. Hence the island...Gibraltarbis physically separate from Britain, but it’s 100% sovereign British territory. Same idea here.