Nothing in this chapter shall prevent a court from exercising its power to punish for contempt.