Stopping kids circumventing smoking bans is also functionally unenforceable. If they really want to, they'll find a way. It doesn't mean we shouldn't legally restrict it - and we have.
I'm basically agreeing that the companies should be pursued on this, but the ban itself isn't necessarily incompatible with that, it is a component of the same picture.