the tibet government never had the power for diplomatic and defence affairs, therefore, the Mcmahon line is illegal. The Dalai lama was dethroned once by the emperor in Beijing. And the choosing of Dalai Lama has to be admitted by the government in Beijing otherwise it would be illegal too.