Anger in Hong Kong over Beijing's legal jurisdiction in new train station

A Pro-Beijing protester (back centre) holds a Chinese flag during the anti-rail link rally outside the Legco complex in Hong Kong on June 14.

Hong Kong (CNN)Hong Kong lawmakers passed a controversial new bill Thursday allowing mainland Chinese laws to apply in a section of a new train station, despite protests by citizens and lawmakers.

Although it is part of China, Hong Kong is governed under a separate legal framework granting the city political and legal freedoms not available on the mainland.
But a new $10.7 billion high-speed rail link between Hong Kong's Kowloon Peninsula, in the heart of the city, to the Chinese mainland cities of Shenzhen and Guangzhou is set to test that legal independence.
    A worker walks outside the West Kowloon station of the Express Rail Link train to Guangzhou in Hong Kong on March 23.
    To avoid an additional border check for passengers passing between the two territories, the Hong Kong government has granted approval for plans to allow a joint immigration checkpoint, that will see mainland laws given jurisdiction inside Hong Kong territory for the first time.
    The new law will see a part of the station, as well as compartments of the trains traveling to and from mainland China, come under the jurisdiction of Beijing, deemed as "an area lying outside Hong Kong but lying within the Mainland for certain purposes," according to the legislation.

    Slow encroachment

    Since its return from British rule to Chinese control in 1997, Hong Kong has remained semi-autonomous, under a model of "one country, two systems."
    The city's separate legal framework, known as Basic Law allows a much freer politic