267. Whoever, intentionally offers any insult, or causes any interruption to any public servant, while such public servant is sitting in any stage of a judicial proceeding, shall be punished with simple imprisonment for a term which may extend to six months, or with fine which may extend to five thousand rupees, or with both.
Bharatiya Nyaya Sanhita, 2023
Section 267: Intentional insult or interruption to public servant sitting in judicial proceeding
Chapter XIV — Of False Evidence and Offences Against Public Justice
Source: official text of the Bharatiya Nyaya Sanhita, 2023 (Ministry of Home Affairs).