Funnier famous example in Britain from the 60s/70s.
The communist party HQ found a bug and removed it, and were subsequently prosecuted for destroying government property. While the government denied in court spying on them, and even denied the existence of MI5, the agency involved.
The case succeeded on the basis that those being spied on believed the government were responsible and therefore intended to destroy government property.