Yes it is. If the law worked differently, nobody would be using scheduled substances as they are illegal. Nobody would go faster than posted limits because speeding is illegal. Nobody would jay walk. These are all illegal, and the law works just like it would for me posting a website that had no issues other than someone didn't like its contents.
Basically your argument is “as long as I don’t get caught.” Like I said, it’s not how it works.