410. When any such offence as is described in section 175, 178, 179, 180 or 228 of the Penal Code (Cap. 224) is committed in the view or presence of any civil or criminal court other than the High Court, the court may cause the offender to be detained in custody and at any time before the rising of the court on the same day may, if it thinks fit, take cognizance of the offence and sentence the offender to a fine not exceeding $500 or to imprisonment for a term not exceeding 3 months or to both.
—(1) In every case referred to in section 410, the court shall record the facts constituting the offence with the statement, if any, made by the offender as well as the finding and sentence.
(2) If the offence is under section 228 of the Penal Code the record must show the nature and stage of the judicial proceeding in which the court interrupted or insulted was sitting and the nature of the interruption or insult.
412. If the court in any case considers that a person accused of any of the offences referred to in section 410 and committed in its view or presence may be better dealt with by ordinary process of law, the court, after recording the facts constituting the offence and the statement of the accused as provided in section 411, may direct the accused to be prosecuted and may require security to be given for the appearance of the accused before a Magistrate’s Court or, if sufficient security is not given, may take that person under custody to a Magistrate’s Court.
413. When any court has under section 410 adjudged an offender to punishment for refusing or omitting to do anything which he was lawfully required to do or for any intentional insult or interruption, the court may, in its discretion, discharge the offender or remit the punishment or any part of it on his submission to the order or requisition of the court or on apology being made to its satisfaction.
—(1) If any witness before a criminal court refuses to answer such questions as are put to him or to produce any document in his possession or power which the court requires him to produce and does not offer any reasonable excuse for such refusal, that court may, for reasons to be recorded in writing, sentence him to imprisonment for a term which may extend to 7 days unless in the meantime he consents to be examined and to answer or to produce the document.
—(1) Any person sentenced by any court under this Division may appeal to the High Court.
(2) Division 1 of Part XX shall, so far as it is applicable, apply to appeals under this section and the appellate court may alter or reverse the finding or reduce, alter or reverse the sentence appealed against.