The same in the UK, and a lot of other countries. The retailer is responsible to the customer, the importer or wholesaler to the retailer.
> Of course the end consumer can also directly purchase from China as well but then it is their responsibility
Providing an easy workaround to safety regulations does not sound like a great idea to me. If you let consumers easily buy unsafe things it will lead to problems. Consumers often do not even realise that things do not meet standards, especially if they buy it through somewhere like Amazon.
You could argue that consumers should do their own checks, but then why have the regulation of what can be sold in the first place?
It's Switzerland.... I can buy fireworks rockets as big as my leg at the grocery store just before Swiss national day.
That's basically subsidizing climate change and encouraging production to move to dirtier regimes. Seems fairly wild.
Oh, that's why amazon.ch redirects to amazon.de... In general, manufacturers and retailers have more legal responsibility for what they sell here in Germany than in the USA, but it feels like Switzerland takes that even further, in good but more expensive ways.
In Switzerland if you import dangerous junk and sell it in your store, you are liable. Of course the end consumer can also directly purchase from China as well but then it is their responsibility (Eigenverantwortung).
Customs will also confiscate fake brands and for example radios that violate frequencies rules (unless you can provide documents that you are allowed to operate such a device, ham radio license etc.)