Generally, a voluntary statement to officers isn't immediately unlawful, but its use in court is a complex matter. The key factor is whether it was obtained properly. Police must adhere to specific rules, including https://panchanandshaw.com/blog/consumer-law-guide/