So, if you sell products or services in China, you have to comply to all China regulations, not just exports? That doesn't make any sense.
Respecting local regulations is not a mind blowing fact. A foreign company cannot sell heroin in the USA under the pretext it is legal in their country.
I know it's an extreme case, but yeah, of course countries expect people who do business in them to respect their laws.