@contrex,
I don't claim any particular knowledge of British law, but referenda are usually binding. I believe the EU has been largely a success of truly historical proportions, particularly when one looks back to Schuman's coal and steel community that, to many, is the start of it all. However, I do believe that the later stages of its growth and expansion were unwisely facilitated by ignoring the results of a couple of national referenda and bypassing future ones througth administratively engineered treaties. That would have been OK, and likely aceptable to all, had the EU governing bodies restricted their governance to that of a federal league of truly sovereign states. However, they went far beyond that specifying the details of innumerable economic social and commercial policies in sometimes exacting detail, and operating a largely bureaucratic government through a rather weak parliament" largely composed (It often appears to me) of various failed or retired national politicians. I suspect (but don't know for sure) that had a lot to do with the resistance that has recently grown not only in the UK but also in France, even Italy and among several Eastern European nations.
I suspect also that the economic (and political) dominance of Germany, (which, as an exporting nation, benefits from the EURO more than any other nation), coupled with the growing immigration issues are the current
drivers for the didssatifaction where it exists.
Given all the (mostly Scottish) blood that was shed creating the United Kingdom, I find it hard to see a lightly taken Scottish separation. However stranger things have happened. My parents immigrated to the USA as young children during the Irish revolution, so I was raised with a different perspective.