From their website:
The SNP believe that immigration is essential to the strength of our economy and adds greatly to our cultural fabric. We propose a fair, robust and secure immigration system that meets Scotland’s social and economic needs.
Therefore we will seek, as a priority, the reintroduction of the post study work visa, so that those we have helped educate are able, if they so choose, to make a contribution to our economy.
https://www.theguardian.com/politics/2017/feb/10/independent...
Rajoy will likely follow the direction set by the EC and also, Catalonia is a different situation to Scotland. The former is a region of Spain whereas Scotland is already a sovereign entity and would only be withdrawing from the Act of Union, not seceding from a country.
Edit: Also, it's already a choice between 100% being out of the EU if we stay in the UK, or at least having a shot of joining the EU which could be more likely in the backdrop of Brexit negotiation.
Some people see the SNP's strong desire to separate from Westminster as anti-English.
technically that would be sectarian and not racist, as both Scotts and English bellong to the same race.
So, yes, under the UK anti-racism law, it would count as racism.
The original inhabitants of Great Britain were Brythonic + Pictish (of the Celts), but in Scotland they were squeezed out by the Gaelic (also of the Celts) tribes (including the Scotti) crossing the Irish Sea into the west, the Norse crossing the North Sea and expanding into the isles from the north, and a rotating cast of invaders from the south: Romans, Danes (the Angles of Jutland and the Saxons), Normans (the Norse by way of Brittany in France), and English (a strange hodge-podge of remnants of various invaders).