If Scotland becomes independent and then applies for EU membership again then surely the terms of any agreement would need to put back to the people. This will take years so I can’t see Scotland joined the EU anytime soon. It would also lead to a hard border with a England.