Persons who are settled in the United Kingdom and have exercised a right of residence elsewhere
8.—(1) A person who—
(a)is settled in the United Kingdom;
(b)left the United Kingdom and exercised a right of residence after having been settled in the United Kingdom;
(c)is ordinarily resident in the United Kingdom on the day on which the first term of the first academic year actually begins;
(d)has been ordinarily resident in the territory comprising the European Economic Area and Switzerland throughout the three-year period preceding the first day of the first academic year of the course; and
(e)in a case where his ordinary residence referred to in paragraph (d) was wholly or mainly for the purposes of receiving full-time education, was ordinarily resident in the territory comprising the European Economic Area and Switzerland immediately before the period of ordinary residence referred to in paragraph (d).
(2) For the purposes of this paragraph, a person has exercised a right of residence if he is a United Kingdom national, a family member of a United Kingdom national for the purposes of Article 7 of Directive 2004/38 (or corresponding purposes under the EEA Agreement or Swiss Agreement) or a person who has a right of permanent residence who in each case has exercised a right under Article 7 of Directive 2004/38 or any equivalent right under the EEA Agreement or Swiss Agreement in a state other than the United Kingdom or, in the case of a person who is settled in the United Kingdom and has a right of permanent residence, if he goes to the state within the territory comprising the European Economic Area and Switzerland of which he is a national or of which the person in relation to whom he is a family member is a national.