Ahh now I see where you're coming from. I was thinking of people visiting, but of course an EU passport gives residency rights to an extent.
Of course, that is taking for granted Scotland would get EU membership, which some say is not certain (but unlikely they would be refused, come on!)