At which point is this about race? Isn't this more like knighthood in the olden times?
Nevermind that one can be "knighted" - the idea that one could be "brahminated" is no different from thinking one could be "whited" in the antebellum south. (And no, the "honorary whiteness" given to certain asian ethnicities is not akin to "whiting" - it's merely defining a subdivision of a caste to be slightly higher than the other lower castes)
Since economic mobility was greately reduced because of economic stagnation caused by centuries of invasion, they re-applied the originally profession-based caste system using racial discrimination brought to India by the Mughals and the British.