Paragraph 7
A person who–
(a)
is a non UK EC national or the child of such a national;
(b)
is ordinarily resident in Scotland on the relevant day;
(c)
has been ordinarily resident in the United Kingdom and the Islands throughout the 3 year period preceding that day; and
(d)
in the case where their ordinary residence referred to in paragraph (c) was wholly or mainly for the purpose of receiving full-time education, was ordinarily resident in the territory comprising the European Economic Area and Switzerland immediately prior to the period of residence referred to in paragraph (c).