He knew what he was doing. He is alleged to have made ~£150,000 in advertising revenue from the site.
He had his TVShack.net domain seized by ICE in June 2010. Any kid simply making a mistake would have given up at that point.
Instead, within a matter of days he set the site up again on a new TVShack.cc domain, adding a picture of NWA and the statement "F* the police" to the top of the site.