And that's what I mean by moral hazard. Revenue generation by these means changes the city's incentive. Rather than having traffic laws and enforcement designed to increase safety, you have laws and enforcement designed to turn the greatest part of your city's population into offenders as possible, in order to maximize your revenue generation, at the expense of public safety.
And it's an injustice because the well-off simply pay their fines and move on, while the poor end up trapped in a neverending cycle of fines and punishments, because the inability to pay the first fine leads to a cascade of involvement with a court system pressured to produce revenue, not justice or fairness.
1) https://arstechnica.com/tech-policy/2014/12/major-chicago-st...