Throughout his autocratic reign, former premier Dr Mahathir Mohamad displayed contempt for the rule of law.