I think that is because we conflate the concept of justice with the process of justice. Justice is getting what you deserve for your actions. We came up with the process of justice for example trials, witnesses, juries, etc to help us as a society more reliably achieve justice the concept. However, these two things are disctinct.