The Contempt of Courts Act, 1971
16. Contempt by judge, magistrate or other person acting judicially –
(1) Subject to the provisions of any law for the time being in force, a judge, magistrate or other persons act in judicially shall also be liable for contempt of his own court or of any other court in the same manner as any other individual is liable and the provisions of this Act, so far as may be, apply accordingly.
(2) Notwithstanding in this section shall apply to any observations or remarks made by a judge, magistrate or other person act in judicially, regarding a subordinate court in an appeal or revision pending before such judge, magistrate or other person against the order or judgement of the subordinate court.
(i) Only a Judge of a subordinate court can be said to have committed contempt of his own court i.e. the court in which such judge is presiding; Harish Chandra v.S. Ali Ahmed, 1987 Cr LJ 320 (Pat).
(ii) A judge can foul judicial administration by misdemeanors while engaged in the exercise of the functions of a Judge; Baradakanta v. The Registrar, Orissa High Court, AIR 1974 SC 710.
(iii) The Magistrates should be conscious of their heavy responsibilities and should not act in a manner prejudicial to the litigants; B.N. Choudhary v.S.M. Singh, 1967 Cr LJ 1141 (Pat).