No court or judge may grant a restraining order, temporary injunction, or mesne process staying, suspending, or enjoining, during the pendency of any litigation, the operation or enforcement of a law of this state or an order made by its Public Utilities Commission, or an order, resolution, or ordinance made by a board of county commissioners, or governing body of a municipal corporation of this state, fixing the rates or charges for the transportation of messages or for service to be rendered by a public utility or public service corporation, without first requiring, as a condition precedent, the execution and filing in the office of the clerk of such court of a bond conditioned for the repayment and refunding of all rates or charges exacted and received in excess of the rates or charges fixed by the law, order, resolution, or ordinance, the operation of which is stayed or enjoined pending the litigation, if the rate or charge fixed in such law, order, resolution, or ordinance is finally determined in the course of such litigation to be legal and valid.
The violation of such judicial order, this section, or a Public Utilities Commission order issued pursuant to this section by a common carrier, public service corporation, or other public utility subject to this title or by an officer, agent, or employee of such companies is a Class 2 misdemeanor.
SDCL 49-11-5