In case of conflict of views between the judge and the prosecutor, whose view should prevail?

In a clash of views between the judge who did not investigate and the prosecutor who did, or between the prosecutor and the offended party or the defendant, those of the prosecutor’s should normally prevail.