Sure. But at least with criminal justice, there is an effort to make it predictable and consistent so you know when you're breaking the law or not - ideally of course. On the other hand, arbitrary rules that are made up on the fly to get rid of marginalized people is a hallmark of repressive governments as well as common bullying. It entrenches the power of the politically powerful.