no matter what, the judge cannot act as legal advicer to either
but the legal system is more dark than we think. the lower court judge is assigned by mayor (?), offten for returning a favor. I learn those kinds of things from an amercian friends who was in court hundreds times and won almost all the cases except few.