COURTS AND COURT OFFICIALS
1-1603. Powers of court. Every court has power:
1. To preserve and enforce order in its immediate presence.
2. To enforce order in the proceedings before it or before a person or persons empowered to conduct a judicial investigation under its authority.
3. To provide for the orderly conduct of proceedings before it or its officers.
4. To compel obedience to its judgments, orders and process, and to the orders of a judge out of court in an action or proceeding pending therein.
5. To control, in furtherance of justice, the conduct of its ministerial officers, and of all other persons in any manner connected with a judicial proceeding before it, in every matter appertaining thereto.
6. To compel the attendance of persons to testify in an action or proceeding pending therein, in the cases and manner provided in this code.
7. To administer oaths in an action or proceeding pending therein, and in all other cases where it may be necessary in the exercise of its powers and duties.
8. To amend and control its process and orders, so as to make them conformable to law and justice.
[(1-1603) C.C.P. 1881, sec. 42; R.S., R.C., & C.L., sec. 3862; C.S., sec. 6477; I.C.A., sec. 1-1603.]