Australian prime minister Julia Gillard has dismissed as “disgraceful” claims that she was making light of sexual harassment by allowing the parliamentary speaker to keep his job while facing allegations that he pressured a member of staff for sex.