22. In matters of protection of the mentally ill, the social affairs division is charged with making determinations in respect of proceedings referred to in section 2 of Schedule I pertaining to decisions made by a health services or social services institution concerning a person in its custody or to measures concerning an accused in respect of whom a verdict of not criminally responsible by reason of mental disorder has been rendered or who has been found unfit to stand trial.