If the plea is accepted, and the accused is acquitted on the ground that although he committed an act which would have constituted an offence if he had been of sound mind, he was insane at the time of committing it, the Court cannot order his release, but must order him to be detained in safe custody in such place and manner as the Magistrate or...