I do support secure battery compartment design, as this is just good product design. Last thing I need is my AG6 cells rolling off under the sofa when I drop my pound store flashy zappy gimmick pen toy thing.
As for children eating random stuff, it's been a problem for centuries. I bet even the Romans had laws on child proof amphora lids. Parents, worrying as it is, it's what children do.