They played the British empire and the French empire again st each other by sighing each others treaties both. This counterbalance both of the powers that if one tries conquer Thailand, the other will try to stop it.
I might think the answer is Indian nationalism developed as a concept during the Indian independence movement which campaigned for independence from British rule. Indian nationalism is an instance of territorial nationalism, which is inclusive of all of the people of India, despite their diverse ethnic, linguistic and religious backgrounds.