What's the legal term? I think it's "double construction"? Where the prosecution knows it's you from illegal means (wiretap/NSA spying) but by that knowledge can go back and construct the legal case in reverse.
It's been rumored that Dread Pirate Of SilkRoad case was figured out that way.