A. In any proceeding for commitment under this title, the judge before whom or upon whose order the proceeding is being held shall ascertain if the person whose commitment is sought is represented by counsel. If the person is not represented by counsel, the judge shall appoint an attorney at law to represent him in the proceeding. The attorney shall receive a fee of $150 for his services, to be paid by the Commonwealth.
B. Any attorney representing any person in any proceeding for commitment under this title shall, prior to such proceeding, personally consult with such person.
Code 1950, § 19.1-239.1; 1966, c. 715; 1975, c. 495; 1991, c. 427; 2016, c. 474.