But from a practical perspective all of this is already done and kept on the DL even before the law was in place. The social pressure already stops the blatant treatment from occurring.
We are rationalizing creatures, not rational creatures. Once racism, sexism or caste discrimination stop being strategic, people stop buying into them. The book "Pax Ethnica: Where and How Diversity Succeeds" describes several instance where this worked. Voluntary legal protection of minority rights by a historically-dominant group has repeatedly dismantled long-standing ethnic conflicts.
>We are rationalizing creatures, not rational creatures. Once racism, sexism or caste discrimination stop being strategic, people stop buying into them.
Sure but the point is, it will never be "not strategic".
It's up to us to be that countervailing social condemnation. Even imposing that cost of making up a totally different reason raises the cost of discrimination, and raising the cost of something means people will do it less.
But let's disregard that. For this specific case you can't even know who to socially condemn. If the law can't determine it how can you?
You have to attack it at the root and get these people to change themselves, and that's basically also impossible.