Glad to see you admit that the oil belongs to scotland.
If the UK left the EU, but Scotland became independent and managed to rejoin the EU, I imagine Scotland would do extremely well as presumably it would have some sort of free trade agreement with the rest of England.
So foreign companies could setup in Scotland, and benefit from being in the EU whilst also having easy trade with the newly independent and now smaller U.K.