insert--
'(4) The lawyer is not a party to a proceeding on the application but--
(a) must do anything required to be done by a party; and
(b) may do anything permitted to be done by a party.
'(5) The parties to the proceeding must act in relation to the proceeding as if the lawyer were a party to the proceeding.
'(6) The lawyer's role as the child's separate legal representative ends when--
(a) the application is decided or withdrawn; or
(b) if there is an appeal in relation to the application--the appeal is decided or withdrawn.'.