Well, let's be honest, justice and humanity is only possible in an atmosphere of respect for law and relative tranquillity. Justice has seldom been found at the head of a mob.
The Zoot Suit Riots had the opposite effect from what you describe. Some of the police joined in on the riot against young Latino males, and there wasn't a powerful backlash against the rioters.
The riots in Romania in 1989 provoked a more powerful backlash. The government eventually lost.
That makes it sound like things aren't as simple as you describe.
Justice has even less seldom been found when the police, government, and court system have little respect for a political minority.