Hey, here's a fun brain game!
What if the situation were reversed: Let's say a Defendant pleads Not Guilty, and is eventually convicted despite this. Does that mean he can be found guilty of Perjury too, for saying untruthfully he's innocent?
Seems to me that would be the same thing!