"Section 25 of the Children Act 1989 makes express and detailed provision for the making of what are known as secure accommodation orders. Such orders may be made and, indeed, frequently are made by courts, including courts composed of lay magistrates. It is not necessary to apply to the High Court for a secure accommodation order. However, as no approved secure accommodation was available, the local authority required the authorisation of a court for the inevitable deprivation of liberty of the child which would be involved. It appears that currently such authorisation can only be given by the High Court in exercise of its inherent jurisdiction. ... I am increasingly concerned that the device of resort to the inherent jurisdiction of the High Court is operating to by-pass the important safeguard under the regulations of approval by the Secretary of State of establishments used as secure accommodation. ... In my own experience it is most unusual that a secure accommodation order could be made without the attendance of the child if of sufficient age and if he wished to attend, and without the child being properly legally represented. It is true, as Mr Flood says, that this is not an application for a secure accommodation order, but the analogy is a very close one. Indeed, the only reason why a secure accommodation order is not being applied for is because an approved secure accommodation unit is not available. It seems to me, therefore, that the statutory safeguards within section 25 should not be outflanked or sidestepped simply because a local authority have been forced, due to lack of available resources, to apply for the exercise of the inherent jurisdiction of this court rather than the statutory order. ... I propose to order that the child now be joined as a party to these proceedings and Cafcass must forthwith allocate a guardian to act on his behalf. ... In my view it is very important that ordinarily in these situations, which in plain language involve a child being 'locked up', the child concerned should, if he wishes, have an opportunity to attend a court hearing. The exception to that is clearly if the child is so troubled that it would be damaging to his health, wellbeing or emotional stability to do so."