Then the trial begins and an even more educated judge with his own staff will sit with the lawyers and the parties and the witnesses for days and hear everything and
maybe hear some disputes about what the judge should or should not hear (because it's unfair to hear some things).