Well, if the adversarial system is effective, then it's the combination of prosecutors driving for convictions and defense attorneys driving for acquittals that produces justice. Hypothetically, only the judge is concerned with justice. And even then, only obliquely, because they only oversee justice of the trial process, not justice in general.