The issue is colonial people in South and Central Asian history is weird because just about every South and Central Asian state (the Durranis, the Sikh Confedracy, the Sikh Empire, the Mughals, the British Raj, the Maratha Empire, the Delhi Sultanate, etc) was a federal system with castes, clans, and ethnic groups being given varying levels of self governance [0][1][2]. So when you say colonial people, does it belong the people of N state of the no longer existing country called X or M state of no longer existing country called Y. Successor States are an actual legal concept which remains a grey area to this day.
On top of that, both Pakistan and India made themselves successor states of princely states in the 1970s but it's still a murky gray area from a jurisprudence standpoint as cases are still being litigated, as the associated federal-local level deliniation is still lacking. Welcome to the legal world.
[0] - https://www.hindustantimes.com/india-news/constitution-to-sc...
[1] - http://14.139.211.59/bitstream/123456789/194/6/06_CHAPTER_02...
[2] - https://www.jstor.org/stable/20078850