There is a scene in one of my favorite movies where the hero, surrounded by an angry mob, wraps one of his arms around his own neck, puts his gun to his own head with the other and warns that he’ll shoot if anyone gets closer. The crowd freezes and, worried that he’s serious, backs off.

That scene came to mind last week amidst reports that Chinese officials had warned visiting U.S. climate envoy John Kerry that cooperation on climate change depended on Washington’s attitude on other issues. China has reason to be troubled by U.S. positions on a variety of concerns, but blocking cooperation with Washington on climate change makes no sense. It’s in Beijing’s own interest to work with the United States on climate. China is already profoundly affected by climate change and the impacts will only get worse.

Signals were mixed before Kerry’s visit to China. When he took the job in January, he said that climate should be a “stand alone” issue, insulated from other controversies in the bilateral relationship. For a while, it looked like that might happen. During an April visit to China ahead of a climate summit that U.S. President Joe Biden would host, a joint statement with his Chinese counterpart promised cooperation to fight climate change “with the seriousness and urgency that it demands.” Chinese leader Xi Jinping seemed to back that position when he told European leaders that month that “climate change should not become a geopolitical bargaining chip.”