If you can't effectively prohibit something you probably shouldn't try. Otherwise you're wasting resources and eroding goodwill towards law enforcement which will be involved in fighting something that people really want to do.
It implies that it would be difficult for legalization to make the situation worse if you already have no control of it. And as noted: legalization improved the situation substantially.