Both Montenegro and Kosovo have unilaterally (?) decided to use euros as their official currencies. I think that most of their capital exists only as records in bank registers, so there is not much problem with that, but what about physical notes and coins that are in circulation? Where do they get them from?
Countries can get foreign currency from tourists, exports or intergovernmental aid programs. (And several other ways, but these should suffice here.)