That's the impression you'll get as a foreigner who spent a little time in Germany, but if you're long timer deep in the system you'll realize that "rules are rules" is only true for the little guy whereas the wealthy elite and old-money individuals and companies can and do bend and break the rules with the help of regulators, politicians and courts all the time who kindly look the other way because they are directly or indirectly invested in those companies or tied to the individuals who run the companies.
High level corruption in Germany is rampant and the scandals are numerous. VW, Wirecard, Deutche, Axel Springer, real estate giants, basically pick any rich big German company, chances are they have powerful friends in politics greasing the gears for them making sure the regulatory authorities are always looking the other way.