In any proceeding before, or notice to, a court of this State involving a patient or student, or a proposed patient or student, that person shall be afforded counsel, and if the patient or student or proposed patient or student is unable to pay for counsel, compensation shall be paid by the State to counsel assigned by the court; however, this section shall not apply to a proceeding under section 7505 of this title.
18 V.S.A. § 7111