(I know in some countries it's actually not -- Bratislava being one surprising example, though some cops were really chill when I was like hey sorry, I thought this was allowed, it's cold out so I bought a pounder and I wanted to warm up on the way to my hostel I'm not trying to bother anyone... though maybe they may have been letting me slide mostly because they were amused by what a pounder is once I defined it)
(A pounder is a big can of beer that got it's nickname because American frat bros will "pound" (chug) it to get very drunk quickly in places where the sales of beer are looser than liquor)