by getting an EU passport.
Ahem, there is no such thing as an "EU passport" (well not until Juncker and Tusk get their way). I think what you meant is the right to dual nationality of an EU member state. Interesting reference to being locked out of the EU; I must have missed the declaration that post-Brexit we British will be barred from travelling to EU member states. More Project Fear?