(1) A person who is guilty of any misconduct during the hearing or trial of any cause or matter, criminal or civil, may, on a verbal order of the magistrate, be removed, by force if necessary, from a court, and may further be detained, under such verbal order, in the nearest lock-up or place of detention for such time, not later than the rising of the court on the same day, as the magistrate thinks fit.