That law is not contradicting the WHO, it’s just setting a stricter standard. It would be contradicting if the WHO said masks made things worse and the governments forced people to wear them anyway, endangering public health against the advice of the WHO. That’s not the case.