The food code should probably just be amended. It pretty generically says that you can’t have “nonnutritive” stuff inside of it, unless that stuff is safe to consume. That’s a pretty reasonable thing, but it should probably be tweaked for nonnutritive stuff that is easy to spot and less likely to be mistaken for food.
We all assume people are at least as smart as we think we are but honestly they aren't. It's scary how many stupid people there are even if you are at the lower part of the average. Millions... It's always the lowest common denominator that the world ends up being built for it seems and that means it's not required for millions above that...