My view on the matter is:
Pulling out of the deal (if it exists) might send a political message but add significant harm to the planet.
Staying in the deal has environmental benefits that far outweigh the drawback of the "political message" it would send.
To understand this problem, perhaps try Trolley problem - Wikipedia