I believe the Judge and the prosecutor, during discovery, or later, would move to make sure that was not admissable as evidence.
Hard to tell from the story, but I inferred that this was based upon courtroom testimony.