The International Criminal Court says Trump’s executive order seeks to harm its “impartial judicial work”.