fix it somehow, some way.
change the laws requiring punishments.
maybe put a limit on how long they can hold the position, or more restrictions on who is eligible. maybe tie them keeping their jobs to the overall performance. I have no idea what that metric actually looks like.
or go all LG on them, and hold the prosecutors responsible for the crime of others.
remember the victims largely vote for this, with a lot of the problem in the system either being directly voted for, or those who appoint them are directly voted for. at some point you have to stop trying to fix it, and respect the votes. otherwise just give up on the idea of voting as a viable option in government like I have. until such time, they have the right to be wrong.