[9C.—(1) [Subject to sub-paragraphs (3) and (4), ] A person—
(a)who is—
(i)[a person who is settled in the United Kingdom] ...; ...
(ii)a family member of a person mentioned in sub-paragraph (i) [, or who would be such a person if they were ordinarily resident in the United Kingdom]; [or
(iii)a British citizen who—
(aa)was born in the British Indian Ocean Territory or, before 8 November 1965, in those islands designated as the British Indian Ocean Territory on that date; or
(bb)is a direct descendant of a person who was born in the British Indian Ocean Territory or, before 8 November 1965, in those islands designated as the British Indian Ocean Territory on that date;]
(b)who is undertaking the course in the United Kingdom;
(c)who has been ordinarily resident in the specified British overseas territories for at least part of the three-year period preceding the first day of the first academic year of the course;
(d)who has been ordinarily resident in the territory comprising the United Kingdom, the Islands and the specified British overseas territories throughout the three-year period preceding the first day of the first academic year of the course; and
(e)subject to sub-paragraph (2), whose ordinary residence in the territory comprising the United Kingdom, the Islands and the specified British overseas territories has not during any part of the period referred to in paragraph (d) been wholly or mainly for the purpose of receiving full-time education.
(2) Paragraph (e) of sub-paragraph (1) does not apply to a person who is treated as being ordinarily resident in the territory comprising the United Kingdom, the Islands and the specified British overseas territories in accordance with regulation 2(4).]
[(3) For the purposes of paragraphs (c) and (d) of sub-paragraph (1), a person mentioned in paragraph (a)(iii) of sub-paragraph (1) is treated as being ordinarily resident in the specified British overseas territories in any period before the first day of the first academic year of the course in which they are not ordinarily resident in the United Kingdom or the Islands.
(4) Paragraph (e) of sub-paragraph (1) does not apply to a person mentioned in paragraph (a)(iii) of that sub-paragraph.]