Temptress croissants in Vienna — a cultural thing or a mini scam?

Of all my travels over the years, one of the only times I ever felt scammed (aside from a taxi in Rome) was eating at one of the grand cafes in Vienna a decade ago. I ordered a full breakfast, and the waiter placed a croissant under my nose along with it. I ate the croissant, the waiter came over, let out a “hmmm,” and then brought me the the bill with what felt at the time like an exorbitant charge tacked on (though in retrospect was probably 3 euros max — I was broke-ish).

It’s such a small, stupid thing, but I’ve always wondered if that was a cultural misunderstanding on my part (Vienna, Central Europe thing?), or if I fell into a mini tourist trap scam.

Loved Vienna overall.

Edit: Thanks all, the responses here suggest it’s not uncommon in some areas in Germany and Austria, usually for bread baskets, less common since covid, and that this was a (reasonable enough) cultural misunderstanding on my part. Mystery solved.

I should also note I’ve lived in Europe most of my adult life (Spain, Netherlands, Belgium) and I get that different places do different things— hence the framing of the question.