If Flynn had gone to trial and testified in contradiction to the two FBI agents, then, no doubt, Judge Sullivan would have gladly entertained a charge of perjury against Flynn. When the judge is on the side of the prosecution all kinds of bad things can happen to a person; innocent or not.
It's interesting that we hear that Judge Sullivan considers perjury charges against Flynn. Where are the charges of perjury, fraud, obstruction of justice, falsification of evidence, and conspiracy against the prosecution team and the FBI agents? I think the judge has some 'splainin' to do.
The judge will site contempt because Flynn said he was guilty to the judge.