Not exactly the same thing, but a few years ago the law changed to require a sesame-allergen notice on foods that had sesame. Some manufacturers starting adding sesame to foods that didn't need it, because they concluded that including the notice was easier than guaranteeing that their product was sesame-free. The intent of the law was to protect people with sesame allergies, but the result was fewer choices for them.
Sometimes laws have unintended consequences.
https://apnews.com/article/sesame-allergies-label-b28f8eb3dc...