Hackers and others within that category are great. Thanks to hackers you can get full access to devices that would otherwise be locked down. Thanks to hackers you can take full control of your media content, playing it without constraints and on any device.
Drugs are a huge market, let's tax it. Most people buying drugs are likely harmless members of society. We're wasting time and money chasing down buyers, sellers, and service managers. There's an absurd amount of people in jail for engaging in fully benign activities.
Porn is a huge industry which pretty much everyone likes. A few rotten apples don't mean you have a rotten tree. Oh, we also waste a lot of money chasing down prostitutes and the like. I'm sure many sex workers would love to continue what they're doing without having to worry about the risk of cops showing up.