A person present in Court, or before a judicial officer, may be required to testify in the same manner as if he were in attendance upon a subpoena issued by such Court or officer.
(Enacted 1872.)