Courts slam harassment after Heydon report