Subject to the proviso to section 301 of the Code of Criminal Procedure, 1973 (2 of 1974) the family or the guardian of the child shall be entitled to the assistance of a legal counsel of their choice for any offence under this Act:
Provided that if the family or the guardian of the child are unable to afford a legal counsel, the Legal Services Authority shall provide a lawyer to them.