The whole need not share the properties of its constituents. Just like water doesn't share the property of inflammability of its constituent dihydrogen and dioxygen.
I am gonna rest my case with this: Institutions are made up of people and hence cultural casteism leads to institutional casteism.