They literally had divisions in the army that were caste based, something not seen in the prior centuries. What are you talking about? Do you have any sources?
I mean, you would have to read a history book written before 1980 when it became popular to start rewriting history. But a quick search comes up with this for example
Obviously caste has been a construct that has been around for a very long time but encoding it into government, the army, law and the judiciary was a British tool.