The only justification for repressive institutions is material and cultural deficit. But such institutions at certain stages of history perpetuate and produce such a deficit and even threaten human survival.
Stereotypes lose their power when the world is found to be more complex than the stereotype would suggest. When we learn that individuals do not fit the group stereotype then it begins to fall apart.