A witness of a case was asked to record his statement under sec.164 CrPC as witness but the magistrate recorded his statement as confessional statement of an accused without his knowledge during 2009. The Chargesheet of the Police during 2011 clearly mentioned that the person is not an accused and the Magistrate mistakenly recorded his statement as confessional statement. Yet during May,2012 the Public Prosecutor prayed to Addl.Session Judge (FTC) to summon the person as an accused and the person when attended the court, was arrested and released on bail.
Can a person be arrested when the police investigation officer clearly mentions that the magistrate has mistakenly taken a confessional statement from the witness and when the police didnot name him as an accused?