Article - Courts and Judicial Proceedings
(a) In addition to any requirements relating to the appointment of counsel for children, at any time during the pendency of any action under this subtitle, where it appears to the court that the protection of the rights of a child requires independent representation, the court may, upon its own motion, or the motion of any party to the action, appoint an attorney to represent the interest of the child in that particular action. Such actions include but are not limited to those involving a child in need of supervision, delinquent child, or mentally handicapped child.
(b) (1) Except as provided in paragraph (2) of this subsection, compensation for the services of the attorney under this section may be assessed against any party or parties to the action.
(2) Compensation for the services of an attorney under this section may not be assessed against a parent, guardian, custodian, or child in a delinquency proceeding.