UK will still need to work with other countries including those in the 27. The 27 will still want to cooperate with UK, so club analogy not strictly accurate, more like leaving a shared house and moving into the empty flat next door.
Isn't there a precedent that we don't break urls on the Web? I think I remember top level country domains persisting after the countries changed?