Nursing homes, like the growing of Scottish soft fruit, have been among the first casualties of the drop-off in the number of EU workers in the past couple of years.
You are quite right, they are not free, but Scotland has a requirement for young, taxpaying, hard-working, incoming labour which falls well below the proposed £30,000pa qualifying salary proposed post-Brexit.
In a few years, the Westminster government's speeded-up Waspi savings bonus will no longer accrue (and we still don't know if they are using that wisely) and our aging, austerity-impoverished population may have to stop receiving some of the distinct benefits put into place by the Scottish Government to ease our lives.
Mainly, they make the right choices, but there will be a limit unless we can attract the labour we need for our specific needs and that is one of the things people outwith Scotland don't understand about why so many of us wish to stay within the EU.