Generally, a voluntary confession to police isn't inherently invalid, but its acceptance in a trial is a complex matter. The key factor is whether it was obtained legally. Investigators must adhere to specific rules, https://panchanandshaw.com/blog/costs-in-pil-explained/