Precisely. The 'correct' thing to do to strike a balance between freedom and preventing damage is to levy a tax to 'cancel out' the externality. If people really, really want their bottled water, they'll be free to buy it, but factored into that price will be the true costs.
That's the theory, anyway. Calculating those costs may not always be obvious.
That's the theory, anyway. Calculating those costs may not always be obvious.