Another case: when Brexit happened, IIRC some people in Scotland were suggesting secession from the UK post-Brexit so they could rejoin the EU.
With strong justification, as one of the reasons their earlier bid for secession from the UK was squashed was the argument that secession from the UK would also automatically kick them out of the EU.
That is still in play as the failure of Brexit solidifies. They can follow the lead of Ireland and the arrangements for the land crossing with N.I.
In a parallel universe - UK never left EU as Scotland, Northern Ireland, and City of London kicked out England and Wales out of UK, and saved everyone years of turmoil.
/sarcasm