A breakup of the UK would raise a problem Ireland’s independence never faced at today’s scale: what happens to millions of immigrants whose visas and residence rights were issued by one country if it becomes several? Existing visas would not suddenly disappear, but Scotland, Wales and the remaining UK would eventually have to decide which rights survive new borders.

