“1. Subject to the provisions of the following paragraphs, workers of Moroccan nationality and any members of their families living with them shall enjoy, in the field of social security, treatment free from any discrimination based on nationality relative to nationals of the Member States in which they are employed. The concept of social security shall cover the branches of social security dealing with sickness and maternity benefits, invalidity, old-age and survivors' benefits, industrial occupational disease benefits and death, unemployment and family benefits. …”
“The provisions of this chapter shall not apply to nationals of the Parties residing or working illegally in the territory of their host countries.”
“(9) “A person subject to immigration control” means a person who is not a national of an EEA State and who— (a) requires leave to enter or remain in the United Kingdom but does not have it; (b) has leave to enter or remain in the United Kingdom which is subject to a condition that he does not have recourse to public funds; (c) has leave to enter or remain in the United Kingdom given as a result of a maintenance undertaking; or (d) has leave to enter or remain in the United Kingdom only as a result of paragraph 17 of Schedule 4.”
“A person shall not under [theImmigration Act 1971 ] require leave to enter or remain in the United Kingdom in any case in which he is entitled to do so by virtue of an enforceable [EU] right or of any provision made undersection 2(2) of the European Communities Act 1972 .”