Tbf there are still examples of this in the EU. At least here in the Netherlands, if you purchase any drinks in recyclable bottles, you pay a surcharge at the register which can then be reimbursed when you bring the bottle back. It's not a large discrepancy (25¢ I think?) but it bit me once when I first arrived and I was paying for everything with cash. I had enough money for everything except the bottle surcharge.