That's only the case if you believe in free will ideology. The injustice is "society" villainizing a person who had no control over their fate if you understand free will is an illusion because of determinism and how the brain functions.
Free will doesn't exist in society and similar to humans. The will of society is a summation of all the preceding forces upon generations and without any real control. The result being what we experience today as our society we live in.
This all is important to understand because hidden in it is the knowledge of why we have what we have now. Also the fact of how important the majority operates, behaves and thinks.
Currently, the majority thinks contrary to the fundamental truth of how their life will play out. I hypothesis if this wasn't the case, our society would adapt and because there is something similar to moral judgement.
Basically, the collective unconscious of society. The objective is made with effort of being positive, fair and right. That's assumed with how the majority believes the justice system we experience today is right and without understanding the true knowledge making it neither positive, fair or right.
The incorrect perspectives of how reality is,.. collectively prevents evolution of society and because the collective unconscious is still fixed upon incorrect beliefs. Thus, I think I'm sort of answering your question.