A court possesses inherently all powers necessary for the exercise of its jurisdiction and the enforcement of its lawful orders, including authority to issue such writs and orders as may be necessary or proper in aid of its jurisdiction. It has the duty to require that criminal proceedings shall be conducted with dignity and in an orderly and expeditious manner and to so control the proceedings that justice is done. A court has the power to punish for contempt.
La. Cr.P. § 17