Penalty up to 25k EUR from the BundesNetzAgentur, up to 2 years jail, or up to 1 year if just by neglect.
Also it is just that these devices classify as spy-bugs aka covert listening devices, which are for good reason illegal to posess.
Also, you really want to get rid of the thing.