Homosexuality is illegal in some countries.
The second part of my comment was more along the lines as to whether exposure to material such as this (material depicting children sexually) affects desire for material such as this, or behavior, for those that already desire it and/or have urges along those lines. I don't know the answer to that, and so an unwilling to make a blanket statement that it should or should not be allowed. There are plenty of things we restrict as a society through our government because we think it's bad for the whole. Sometimes there's little real reason for that, sometimes there is, and thus I'm on the fence until I know more.
My layman's understanding is that some aspects of sexuality are not well defined until puberty and what you're exposed to at that time, and then those are fairly fixed for life. If that's true, there are aspects to consider beyond an individual's desire, and a nuanced informed decision is worthwhile. It's possible the right answer here is not just "freedom of speech and expression" nor "protect the children", but a middle path with the most benefits and least drawbacks.
You say that, but created from scratch drawn material is illegal in some countries. What you've stated is a nice ideal but often doesn't match reality, and I'm on the fence as to whether that's a necessarily a bad thing in this case (I'm not sure we really know enough about sexual drive and how it interacts with the subconscious to know whether it's actually benign or has a societal cost).