Dependes on the country. In my country, it's not enough to charge someone even if they did think they were talking to a child. But the chance that they can be entrapped like this and get into real trouble as a result, can be enough to scare some people from attempting to do this out of boredom or frustration or whatever.