After the accused has been found to be of unsound mind, and incapable of making his defence, the Magistrate or Court may release the accused on sufficient security being given that he shall be- (1) properly taken care of; (2) prevented from doing injury to himself or any other person; and (3) produced before the Magistrate or Court ...