The problem with laws like this is that they can't go far enough without running into problems like free speech and so forth.
You can put consumer protection laws into place online, but you can only enforce them when the site originates in your own country.
So, you end up having to enforce them through prosecuting the people who are visiting the sites. If it is a child, who are you going to punish?
The only solution is to crack down on where a person can go online, and as far as I'm concerned that shouldn't ever be considered a solution.
The ability of people to connect where ever they want online at the moment is the best thing about the internet.