Generally, a free statement to police isn't immediately illegal, but its acceptance in court is a tricky matter. The essential factor is whether it was obtained fairly. Officers must adhere to specific guidelines, https://panchanandshaw.com/blog/costs-in-pil-explained/