-
It's the opposite, the UK as a member of the EU always had control of its laws, money and borders - that it did not was a fiction. Scotland on the other hand truly doesn't control those things, so if they were honest any Brexists should whole-heartedly support Scottish Indy, but they don't seem too. Peculiar, no?
-
EU law arguably always had primacy over UK law
https://europa.eu/european-union/law/legal-acts_en
See Factortame at al
https://en.wikipedia.org/wiki/R_(Factortame_Ltd)_v_Secretary_of_State_for_Transport
Scotland's separate legal system is enshrined in the Treaty of Union.
Edit in italics
Sounds a bit like brexit!