I don't agree with your reasoning. Most bad things aren't driven by supply and demand. If you jail a rapist, you aren't creating incentive for someone else to commit more rapes.
Also, performing a dirty industrial process in a country with strong environmental and workplace safety regulations is better than moving that process to a country with no protections.
Sigh, there is no iteration of that logic that doesn't devolve to vacuous self-justification for engaging in immoral acts.