General de Gaulle when hearing of the International Tribunal for War Crimes in Vietnam, set up by BertranBertrand Russell, stated that justice flows from the state.
Obviously, this is untrue. Justice flows from both the people and the state, and for the religiously minded, that is in Islam, Christianity & Judaism, it also flows from God. It is, after all, one of his attributes.
It is the law in its legal dimension that flows solely from the state. Justice itself is higher than the law, although it is implicated in it. This is why a people can revolt justly against an unjust rule.
Whilst a judiciary interprets the law, it doesn't manage itself in toto. However, this branch of the government requires managing - or, that is governing. Hence a ministry of justice.