Both. The same as for other materials we don't want kids to access, like alcohol. We can't expect parents to always be watching their kids. That's not how societies have ever worked.
But what I'm actually questioning in my comment above is effectiveness of the technology solution proposed at the device level.