Sex harassment 'open secret' in Vic courts