The International Criminal Court has called on its member states to stand up against sanctions imposed by Donald Trump.