"Justice is the legal or philosophical theory by which fairness is administered." In the Justice system a person is reprimanded for an act committed.
However the punishment of any given person is a function of more factors than the act committed in a nontrivial way. It varies, not insignificantly, with race, gender, wealth, attractiveness, and so on... You can, for instance, take the average difference of sentencing between a white person and black person for murder. This difference will be the punishment assigned to a person for the act of being a certain race. This punishment is not insignificant and cannot be considered to satisfy the condition of fairness in any approximation.
Is the Justice System flawed in it's most fundamental principle? If so, how can this be corrected?