I'm not sure that was the original point. If extracting oil results in $x of long term damage to the local environment, but that cost isn't passed along, it makes economic sense to buy oil from somewhere else so you don't end up footing that bill. Sure it would be better overall if that other place could extract oil without that cost but that doesn't make the decision less rational even if that environmental cost is as much or more than it would be to extract it locally.