Of course not. That’s why they only charged her with lying to FBI. They don’t have to get into the primary crimes at the trial that way.
I have to imagine that law-savvy spies, when calculating the potential costs if caught and how they conduct their operations, consider that they’ll be free from prosecution for deeds that would require revealing sources and methods in open court. This really weakens the deterrent for certain types of espionage.
If she had simply refused to say anything to the FBI, perhaps she would have gotten off scot free, though her diplomatic career would have been kaput. She did have her Chinese fashion design training to fall back on.