The object/parcel can be tagged with Key:owner (with foreign government as value), but it’s probably not an actual exclave/enclave (which would mean it is part of the administrative boundary of the foreign country).