The principal practical problem with that outcome is upon what terms, if any, would we effectuate a reversal.
A few EU nations would want to make an example of us, but I think most really do not want the UK to leave (for a variety of reasons). In the end I think common sense might prevail. The rebate might disappear but I doubt we would have to join the euro.