OP should write a nice thank you letter to the München cops for disabusing him of this notion. It was his responsibility as an adult to have learned long ago that the authorities are not your friends and the cops are not on your side.
Just imagine the nasty policies of total fascist police empowerment that he's probably been voting for with ideas like that. Maybe a little education will have straightened him out a bit.
Really, people who expect an encounter with the cops to be respectful, convenient, not humiliating, fair, decent, honest, voluntary, or inexpensive are a part of the problem. I'm glad OP is wiser and I hope he will now run his life with due consideration for how things are instead of some childish fantasy of how things should be.
It's imperative to memorize the rules of legal limits and rights you have with cops in any country you transit often. In those you visit just once, memorize the phrase "I demand to speak to my embassy immediately," but learn to be patient because it takes a very long time to work. In America, learn to say "I do not consent to a search," and "I want to speak to a lawyer," and "am I free to go," and don't say anything else.
I don't know the rules for Germany, but OP needs to.
So go look them up, OP. It's your responsibility now that you've been educated. Also, if there's a citizen grievance procedure, it's your immediate responsibility to file one.