Except for the authorizations set forth in § 22-14-24, nothing in this chapter limits the power of a court to punish for contempt or to promulgate rules or orders regulating, restricting, or prohibiting the possession of weapons, within any building housing such court or any of its proceedings, or upon any grounds pertinent to such building.
SDCL 22-14-25