It's also very questionable if Maas was indeed "just" enforcing laws, at least he was strangely selective in doing so (for some reason, he was very reluctant to enforce similar laws in the NSA-spy-affair). It's also very questionable of the accusations of treason against journalists only doing their job would have held up in court.
So the simple explanation is that the Generalbundesanwalt went too far, his superior had to act to avoid loosing face, and all this speculation about empty gestures, unjust laws or whatever is completely unnecessary.