China has enacted a law to counter foreign sanctions, specifically targeting companies complying with U.S. restrictions on Iranian crude purchases. This move escalates tensions amid ongoing disputes over trade with Iran and Russia, coinciding with President Trump's upcoming visit to Beijing. The law allows Beijing to retaliate against entities enforcing sanctions viewed as illegitimate.