The failure of an attorney appointed by the court to represent an unrepresented party to perform any duty imposed upon him by, or the violation by any person of, the provisions of Articles 5092 through 5096 shall not affect the validity of any proceeding, trial, order, judgment, seizure, or judicial sale of any property in the action or proceeding, or in connection therewith.
For a wilful violation of any provision of Articles 5092 through 5096 an attorney at law subjects himself to punishment for contempt of court, and such further disciplinary action as is provided by law.