Heroin, as in heroin derivates, are not illegal. That's what a lot of hard, medical painkillers are.
Same goes for weapons in some of the countries with the most restrictions on gun sales and ownership, it is still perfectly legal to sell military grade weapons to the military in those countries.
Funny, how HN seems to qctively failing to understand how regulations and compliance works as soon as they themselves, or one of theirs, is negatively affected by them...