7. A person who–
(a)is a national, or the child or step-child of a national, of a member state of the European Community;
(b)has been ordinarily resident in the European Economic Area throughout the period of 3 years immediately preceding the relevant day;
(c)has not been ordinarily resident in the United Kingdom and Islands throughout that 3 year period; and
(d)seeks an allowance in respect of a course of education at an establishment in Scotland.