E.g., Germany: StGB 201 § 201 Verletzung der Vertraulichkeit des Wortes https://www.gesetze-im-internet.de/stgb/__201.html
In some places, secret recordings are useless as evidence (e.g., two-party consent states in the United States), while in others even illegal recordings may be admissible anyway (e.g., Sweden).
For example, in Germany, a lot of the privacy culture (and therefore, laws) came about because of how the secret police terrorised the common people, for example, using secret recordings and worse (e.g., secret evidence).
But in other places, sure, I would agree with you.
EDIT: I know there are places where secret recordings are illegal but don't know the expected penalties. Recordings are probably legal in a "one-party consent" state. Be wary; certain kinds of recording may be illegal even if recording is legal in general.
In a lawsuit, you will be required to hand over all relevant records. It is illegal to destroy them or fail to hand them over. The penalties for doing so could be severe.
But even if you get away with it, hiding evidence would be wrong. Don't respond to sleaze with yet more sleaze. Maybe you'll win the fight or maybe you'll lose it, but you will always lose something of yourself.
Is it wrong, or just illegal some places?
Is it only "sleaze" where it's illegal, or everywhere?
https://www.gesetze-im-internet.de/englisch_stgb/englisch_st...