Generally, a free statement to police isn't automatically invalid, but its use in court is a tricky matter. The key factor is whether it was obtained fairly. Investigators must adhere to specific procedures, including https://panchanandshaw.com/blog/costs-imposed-by-court-explained/