It could quite possibly be the outcome of a federal Europe.
Currently there is a procedure for leaving the EU, but it's never been used (except by colonies upon gaining independence, such as Greenland). Upon federation, that procedure will become as unlikely to be used as Texas is to leave USA.