be eligible to apply for permanent residency after having "ordinarily resided" in Hong Kong for seven continuous years, and thus enjoy the right of abode in Hong Kong. However, the definition of "ordinary residency" excludes (amongst other groups) those who lived in the territory as foreign domestic helpers; this effectively denied foreign workers the rights of permanent residents (including the right to vote), even if they had lived in Hong Kong for many years. Since 1997, section 2(4) of the Immigration Ordinance has stated that "a person shall not be treated as ordinarily resident in Hong Kong while employed as a domestic helper who is from outside Hong Kong". Therefore, foreign domestic helpers only receive temporary status since they enter Hong Kong with a temporary visa. However, many workers have been able to receive permanent residency through marriages and relationships. These relationships can be out of love or be a mutual arrangement, allowing the foreign domestic worker to apply for a dependent's visa. In some cases, these arrangements can lead to abuse and exploitation by the permanent resident. In 2011, the issue of foreign workers applying for Hong Kong residency was debated; since one million families live under the poverty line in the territory, some political parties argued that Hong Kong has insufficient welfare funding to support 300,000 foreign workers if they can apply for public housing and social-welfare benefits. The Court of First Instance found in Vallejos v Commissioner of Registration that this definition of "ordinarily resident" contravenes Article 24 of the Basic Law. The latter stipulates, "Persons not of Chinese nationality who have entered Hong Kong with valid travel documents, have ordinarily resided in Hong Kong for a continuous period of not less than seven years and have taken Hong Kong as their place of permanent residence before or after the establishment of the Hong Kong Special Administrative Region", feeding speculation that domestic helpers could obtain the right of abode. An appeal was made to the Court of Appeal of the High Court, which overturned the judgment of the Court of First Instance. The plaintiffs then appealed to the Court of Final Appeal, which ruled against them in a unanimous judgment. Two-week rule The government requires foreign domestic helpers to leave Hong Kong within two weeks of the termination of their employment contract, unless they find another employer (the two-week rule). According to Hong Kong Human Rights Monitor,