I live and have traveled a lot around Europe, and have never ran into that rule, but have almost always seen people drinking alcohol in public parks. From what I could find online it's only Norway, Ireland, and perhaps Poland, plus a few places in cities in other countries (Vienna, Milan, Barcelona, Riga...) which is far from "much of Europe".