Should the judge listen to the explaination of the evidences and witnesses and understand the case or just say send him/her to Life in prison?

In short should the judge be fair or no?