That however goes both ways, making it also far easier to install a dictatorship etc. because you don't have to replace tens of thousands of police officers with regime loyal ones.
We're walking on razors edge here, it only takes one "election gone wrong" and we might find ourselves in a nightmare with no escape.
Dictatorships have fallen because formerly loyal police officers stopped being loyal. It's unlikely that kind of personal evolution will happen with a machine.
AI-driven justice etc is lowering the cost of dictatorship. It's literally lowering the barrier to installing an authoritarian regime, that's what's scary about it. (ref. "The Dictator's Handbook", my favourite political book, as to why this is a problem)