the question is did he lie to court or just make false public statements?
That's why I said I don't know the details. The CNN reporting is that he did both. Generally speaking, you have an obligation to always tell the truth. The reality is that its lying to a court that gets you in trouble.
The model rule is Rule 3.3 Candor Towards the Tribunal:
(a) A lawyer shall not knowingly:
(1) make a false statement of fact or law to a tribunal or fail to correct a false statement of material fact or law previously made to the tribunal by the lawyer;
(2) fail to disclose to the tribunal legal authority in the controlling jurisdiction known to the lawyer to be directly adverse to the position of the client and not disclosed by opposing counsel; or
(3) offer evidence that the lawyer knows to be false. If a lawyer, the lawyer’s client, or a witness called by the lawyer, has offered material evidence and the lawyer comes to know of its falsity, the lawyer shall take reasonable remedial measures, including, if necessary, disclosure to the tribunal. A lawyer may refuse to offer evidence, other than the testimony of a defendant in a criminal matter, that the lawyer reasonably believes is false.
ABA
Model Rule 4.1, “Truthfulness in Statements to Others,” states:
In the course of representing a client a lawyer shall not knowingly:
(a) make a false statement of material fact or law to a third person; or
(b) fail to disclose a material fact to a third person when disclosure is necessary to avoid assisting a criminal or fraudulent act by a client, unless disclosure is prohibited by Rule 1.6.