Under EU law - the relevant one in this case - EU has absolutely no power to stop UK being a member
Go read Art.50 itself: eur-lex.europa.eu/legal-content/…
2/
3/
By EU's own rules, it can't stop the UK leaving, even if there were a UK law to say they could (which there isn't, to be very clear)
4/
/end