It's libelous in Germany unless you can prove it's true. In fact people regularly get punished in Germany for things like calling politicians idiots, because they can't prove they are idiots. https://www.ft.com/content/27626fa8-3379-4b69-891d-379401675...
Securing physical evidence subject to a warrant is not punishment under the law. But I take your point that this seems like a pretty heavy-handed reaction.