The Supreme Court has ruled that a Magistrate is under a constitutional obligation to inform an accused person of their right to consult and be defended by a legal practitioner before recording a confession under Section 164 of the Code of Criminal Procedure (Cr.P.C.). Citing the precedent set in Mohammed Ajmal Mohammad Amir Kasab v.
