law: 102. Conveying or admitting person with mental illness to mental health establishment by Magistrate.-
  (1) When any person with mental illness or who may have a mental illness appears or is brought before a Magistrate, the Magistrate may, order in writing-
  (a) that the person is conveyed to a public mental health establishment for assessment and treatment, if necessary and the mental health establishment shall deal with such person in accordance with the provisions of the Act; or
  (b) to authorise the admission of the person with mental illness in a mental health establishment for such period not exceeding ten days to enable the medical officer or mental health professional in charge of the mental health establishment to carry out an assessment of the person and to plan for necessary treatment, if any.
  (2) On completion of the period of assessment referred to in sub-section (1), the medical officer or mental health professional in charge of the mental health establishment shall submit a report to the Magistrate and the person shall be dealt with in accordance with the provisions of this Act.