Even in the criminal justice system, the goal of the criminal justice system has never been to find truth, only produce justice or deterrence.
The last part sounds a bit like a tautology, but essentially, most criminal justice systems were created with the knowledge they can't figure out what really happened in most cases (take murder, where at least one person who knows what happened is dead, and another stands accused), so the goal is usually not to find the truth. Justice is easy, truth is hard.
There are also plenty of cases where truth is irrelevant to the aim of deterrence. It doesn't matter if you catch everyone who is speeding, or even that everyone you ticket was speeding, your goal is usually to get a high enough rate of catching actual speeders to deter the conduct.
Edit: I am referring to the canonical definition of justice, not the bureaucratic one.