Do you have evidence for this? The caste system's origins pre dates the British arrival afaik
Excerpt:
The British Raj furthered this development, making rigid caste organisation a central mechanism of administration. Between 1860 and 1920, the British formulated the caste system into their system of governance, granting administrative jobs and senior appointments only to Christians and people belonging to certain castes.
[1] https://socialsci.libretexts.org/Bookshelves/Sociology/Intro...
To justify the "pre-date", proponents combine highly distorted theory of jatti and varna to artificially synthesize Indian caste system.
The connection of caste with Europe is much more solid and meaningful given the monopoly of church over God and the king as the representative of God.