It's trivial to convince the judge and jury that the history is real. Who are they more likely to believe, the investigators or the guy in the orange jumpsuit that swears it was planted? After all, the "it was planted!" excuse is the oldest one in the book.