"the establishment of monitoring and consultative mechanisms for bringing an application contemplated in subsection and the procedure to be followed by a head of prison and a director of public prosecutions whenever it appears that it is necessary to bring an application contemplated in subsection"