xmlns:atom="http://www.w3.org/2005/Atom"
1.—(1) For the purposes of schedule 1 a person is to be treated as being ordinarily resident in Scotland on the relevant date if the Scottish Ministers or, for the purposes of a bursary granted under regulation 26(1) (exercise of power to grant a bursary), the education authority, are satisfied that that person was not actually so resident only because—
(a)that person or their spouse or civil partner or either of their parents, or
(b)in the case of a dependant direct relative in the ascending line, the child upon whom that person was dependent or that child’s spouse or civil partner,
was temporarily employed outside Scotland, or attending a course of study or undertaking postgraduate research outside Scotland.
(2) Subject to sub-paragraph (3), a person is not to be treated as being ordinarily resident in Scotland on the relevant date if the Scottish Ministers or applicable education authority are satisfied that their residence there on that date is attributable to, or connected with, any period of residence in Scotland within 3 years immediately preceding the relevant date which was wholly or mainly for the purpose of receiving full-time education.
(3) Sub-paragraph (2) does not apply to a person who has acquired settled status in the United Kingdom under the Immigration Act 1971 as a result of residence for full-time education which has led to a right of permanent residence arising under Directive 2004/38.