Nobel Peace Prize winner Navi Pillay on Wednesday hit out at Donald Trump's "illegal" sanctions against the International Criminal Court, saying he needed a lesson in international law.