Court's inherent power to punish disrespect
In Rodriguez v. Blancaflor,[3] the Supreme Court nullified Judge Blancaflor's order penalizing petitioners for direct contempt on the basis of Tulali's ex-parte manifestation.

Neither should Rodriguez be liable for direct contempt as he had no knowledge of, or participation in, the preparation and filing of the subject manifestation. It was signed and filed by Tulali alone in his capacity as the trial prosecutor in the arson case. The attached complaint against Awayan was filed with the Office of the Palawan Governor, and not with the RTC.
Apparently, Judge Blancaflor's conclusion, that the subject manifestation containing derogatory matters was purposely filed to discredit the administration of justice in court, is unfounded and without basis. There being no factual or legal basis for the charge of direct contempt, it is clear that Judge Blancaflor gravely abused his discretion in finding petitioners guilty as charged.
Direct contempt is any misbehavior in the presence of or so near a court as to obstruct or interrupt the proceedings before the same, including disrespect toward the court, offensive personalities toward others, or refusal to be sworn or to answer as a witness, or to subscribe an affidavit or deposition when lawfully required to do so.[4]
[1] Baculi v. Belen, A.M. No. RTJ-09-2176, April 20, 2009, 586 SCRA 69, 80.
[2]Bank of Philippine Island v. Labor Arbiter Roderick Joseph Calanza, et al., G.R. No. 180699, October 13, 2010, citing Lu Ym v. Mahinay, G.R. No. 169476, June 16, 2006, 491 SCRA 253.
[3] https://www.projectjurisprudence.com/2021/08/gr-no-190171-march-14-2011.html.
[4] Section 1, Rule 71 of the Revised Rules of Court.