Victorian judge made 'demeaning' comments towards alleged se