IANAL, but in my experience as an expat in several countries and traveling widely as a tourist, this type of law (restrictions on items brought into a country for personal use) is extremely common, not unusual at all.
Many travelers are unaware of these laws, often until they get off the plane and into difficulty.
Enforcement does tend to be spotty, generating stories and complaints from self-entitled travelers who were ignorant of the law.
Sure, it's helpful for
@gopbroek to publicize this, since it seems to come as a surprise to some. I'd say that's no substitute for checking the import regulations yourself -- I wouldn't trust a news article to be a complete or accurate guide of what to bring to Mexico (or anywhere else).