An accused was granted bail by police during investigation in a bailable section of IPC such 323 , but after investigation the police submitted charge sheet u/s 307 IPC ( non-bailable), can he be released on bail in the court of Judicial Magistrate ? if not, please give detailes of ruling of Supreme Court or High Court