The International Court of Justice also found the US freeze of Iranian assets illegal and ordered Washington to remove sanctions impediments.