The law requires it to be knowing and willful, and the prosecution would have to prove this.
"They came up with a plausible reason why his answer was a lie and not just a``oh, shit, I forgot about that one""in order to win the conviction."