You don't buy from them. This is already happening [1] [2] [3]. Developing nations have no purchasing power compared to the developed world. They'll kowtow to developed world hegemony if push comes to shove (at least within the scope of US foreign aid [~$40B/year] and dollar dominance).
[1] https://www.google.com/search?q=manufacturing+moving+away+fr...
[2] https://www.freightwaves.com/news/manufacturers-move-away-fr...
[3] https://www.cnbc.com/2022/10/20/china-factory-of-the-world-i...
If they also applied it to imports then countries with high CO2 would have a harder time to export to Switzerland. Having less access to cheap products with high carbon footprint would add a costs to citizens, as alternative products will likely cost more, but then it would also encourage industries in China/India to produce products with lower footprint in order to compete on markets with carbon taxes/tariffs based on carbon footprint. It might even encourage local productions which can be a boon for the economy.
Have a look at Steven Koonin's "Unsettled". He was an Obama DOE appointee and Provost of Caltech (he's a physicist). He makes convincing arguments that the climate change models are highly unreliable. It's not Fox News garbage, he's legit.
The US and EU are making very large policy moves based on models that are not necessarily accurate.
That’s how error bars work and why they are indicated as +/-
Fossil fuels meanwhile will on average only get more expensive over time because they are being depleted, and this isn't considering other externalities besides CO2 emissions.
There are reasons besides climate change to get off fossil fuel.