Council lawyers slam judge's remarks