The Code of Criminal Procedure, 1973 (CrPc)
255. Acquittal or Conviction.
(1) If the Magistrate, upon taking the evidence referred to in section 254 and such further evidence, if any, as he may, of his own motion, cause to be produced, finds the accused not guilt, he shall record an order of acquittal.
(3) A Magistrate may, under section 252 or section 255, convict the accused of any offence triable under this Chapter which form the facts admitted or proved he appears to have committed, whatever may be the nature of the complaint or summons if the Magistrate is satisfied that the accused would not be prejudiced thereby.