Welfare and Institutions Code § 5270.40
ARTICLE 4.7. Additional Intensive Treatment
Any individual who is knowingly and willfully responsible for detaining a person for more than 30 days in violation of the provisions of Section 5270.35 is liable to that person in civil damages.