if the UK wished to retain the bases it would make retaining the land a condition for granting independence, similar to Cyprus
this isn't like Article 50 where after 2 years you're out: the nationalists only method to get what they want is by agreeing to Westminster's requiements, in full
otherwise Scotland continues to remain part of UK