Can you link to anything related to this?
English translation: https://www.gesetze-im-internet.de/englisch_patg/englisch_pa...
Patents aren't special in this regard in Germany. Copyright violations, trademark violations, and unauthorized disclosure of trade secrets are criminalized as well. So at least it's consistent.
Can you link to anything related to this?