There's not necessarily a jury, though; if the judge makes the final call, there is no third party involved, and he's in the same shoes as when he orders the jury to ignore testimony; you can file away and ignore, but not forget. Not "if it's used", but "if it can be shown to have been used"...