If drugs are illegal, then that's the law. Fair or not, that's beside the point. If you don't like the law, feel free to lobby for changing it, but in case you're selling drugs illegally, then you should go to jail.
In general people breaking the law should incur the associated costs, especially when they are doing so knowingly.