"they have two months to transfer their domains to a different person or entity based in Europe"
If that's actually what they said (rather than poor reporting), there's no problem. We'll still be in Europe, just not in the Union.
Europe is a geographical entity, not a political one. In much the same way as Canada is in North America without being in the USA.