A judge or commissioner of the supreme court, the court of appeals, or the superior court, a judge of a court of limited jurisdiction, and a commissioner of a court of limited jurisdiction may impose a sanction for contempt of court under this chapter.