Sakha, Komi, Karelian and others are not considered as such due to the size of the population (more than 50,000 people), and consequently they "are not the subjects of the specific legal protections." The Russian government recognizes only 40 ethnic groups as indigenous peoples, even though there are other 30 groups to be counted as such. The reason of nonrecognition is the size of the population and relatively late advent to their current regions, thus indigenous peoples in Russia should be numbered less than 50,000 people. East Asia Ainu people are an ethnic group indigenous to Hokkaidō, the Kuril Islands, and much of Sakhalin. As Japanese settlement expanded, the Ainu were pushed northward and fought against the Japanese in Shakushain's Revolt and Menashi-Kunashir Rebellion, until by the Meiji period they were confined by the government to a small area near Lake Akan in Hokkaidō, in a manner similar to the placing of Native Americans on reservations. In a ground-breaking 1997 decision involving the Ainu people of Japan, the Japanese courts recognized their claim in law, stating that "If one minority group lived in an area prior to being ruled over by a majority group and preserved its distinct ethnic culture even after being ruled over by the majority group, while another came to live in an area ruled over by a majority after consenting to the majority rule, it must be recognized that it is only natural that the distinct ethnic culture of the former group requires greater consideration." The Dzungar Oirats are indigenous to the Dzungaria in Northern Xinjiang. The Sarikoli Pamiris are indigenous to Tashkurgan in Xinjiang. The Tibetans are indigenous to Tibet. The Ryukyuan people are indigenous to the Ryukyu Islands. The languages of Taiwanese aborigines have significance in historical linguistics, since in all likelihood Taiwan was the place of origin of the entire Austronesian language family, which spread across Oceania. In Hong Kong, the indigenous inhabitants of the New Territories are defined in the Sino-British Joint Declaration as people descended through the male line from a person who was in 1898, before Convention for the Extension of Hong Kong Territory. There are several different groups that make up the indigenous inhabitants, the Punti, Hakka, Hoklo, and Tanka. All are nonetheless considered part of the Cantonese majority, although some like the Tanka have been shown to have genetic and anthropological roots in the Baiyue people, the pre-Han