Tehran says its air attacks on countries cooperating with the US are justified under international law.