To respond to the rest of G23: there seem to be many disparate views on whether an separate Scottish state could remain within the EU. Jacqueline Minor, the European Commission's head of representation in the UK has said recently that nobody knows for sure, but the consensus is no and an independent Scotland will have to reapply to join the EU as a new member state. Although she did say that Holyrood might be able to fast-track its application because its laws would already accord with EU legislation.
Using Nicola Sturgeon's timetable of a vote on independence in 2018 or 2019, it is hard to find an expert willing to suggest the country could become part of the EU sooner than 2022.
The first delay would be opposition from European Commission President Jean-Claude Juncker, who has said he does not want to see any new states join the bloc during his term in office, which ends in 2020.
Former EU official Kirsty Hughes has said that it would take at least three to four years for Scotland to join after becoming independent. Assuming a 2019 referendum, that would mean 2022 or 2023. So there is no likelihood of Scotland becoming a member of the EU before Brexit is completed. You say there is no mechanism for Scotland to be "ejected" but as these are unchartered waters, neither is there any mechanism for a transition without application. But if we assume that Scotland does remain in the EU, then there are also issues of trade, borders and currency. I think the contention that is yes - they say you have to join the Euro, but really you can put it off indefinitely is, frankly, waffle. And even if there is a delay before the Euro is adopted, what currency will Scotland use in the meantime? There is no doubt that the Bank of England will not provide central bank services to Scottish banks operating and regulated in what is now a foreign country as it cannot accept risks over which it has no control. Speaking as a Borderer, I can only express horror at the nightmare of Euro/Sterling transactions. And as for trade, Scotland's largest single market is, by far, with the UK. Currency, customs and regulatory differences would make cross border transactions extremely expensive. (I feel very sorry for Ireland.)As much as deeply regret the outcome of the EU referendum, I have come to the conclusion that living in a separated Scotland would be to compound the misery and give us the worst of both worlds.