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.