Do legislators run simulations on possible downstream effects of laws or…? My impression is that occurrences like this one are not uncommon.
Do legislators run simulations on possible downstream effects of laws or…? My impression is that occurrences like this one are not uncommon.
> as written.
I'm not sure you understand what the "spirit of a law" means. It has very little to do with the written wording.
In tabletop RPG circles, there's a very clear distinction between "rules as written" and "rules as intended" (because basically zero tabletop RPGs of nontrivial size can avoid having some rules that fail to properly convey their intent in their plain wording).
It's clear that, by this law "as intended"—ie, the spirit of the law—foods that didn't already contain sesame would be carefully separated from chances of sesame contamination.
You are, however, absolutely correct that "as written", it strongly encourages the behavior being seen.
The spirit of the law could be deduced as “if your product claims to contain no sesame, this law ensures that is true, even in trace amounts”. That spirit is being upheld.
No one can be compelled against their will to manufacture a product containing no sesame, even if they were probably doing so before this law was passed.
This is called "the letter of the law", and in practice courts do not rely on it.