It solves a lot of problems for Ireland, assuming Northern Ireland hasn't rejoined the Republic first.