Any person that fails to comply with any lawful order of the court which is made and served pursuant to the provisions of this article and Article 2 (commencing with Section 5571) of this chapter is in contempt of court and shall be punished accordingly. The punishment is in addition to any other penalty which is provided for in this code.