Legalize cautiously: tax the trade, undercut crime, regulate strictly. Pilot programs first to preserve order and strengthen the state.