Judges talking about morality in court is not really a bad thing. But they must ensure that they only talk about Constitutional morality.
Read this post on bhagwad.com/blog