The US announcement of sanctions coincided with one of the court's former judges, Navi Pillay, taunting Donald Trump after being awarded the Nobel Peace Prize.