"Because of European law, the Scottish government also has to provide free tuition at Scottish universities for students from other EU countries - but not for those from other parts of the UK.
Essentially this is because it is possible to discriminate between students from different parts of an individual member state but not to discriminate against those from other parts of the EU."
www.bbc.co.uk/news/uk-scotland-23279868
"The standard tuition fee for an undergraduate degree course in Scotland in 2016 is £1,820.
The Student Awards Agency for Scotland (SAAS) will pay these fees if you meet eligibility conditions; for example, if you are a Scottish resident and/or a qualifying non-UK EC student.
If you come from the Rest of the UK (RUK), universities in Scotland will charge you variable fees up to a maximum of £9,000 just like England and Wales.
Undergraduate Scholarships and Bursaries are available for eligible students from England, Northern Ireland and Wales to help offset these higher fees."
www.thecompleteuniversityguide.co.uk/university-tuition-fees/going-to-university-in-scotland/