Generally, a free admission to officers isn't automatically unlawful, but its use in court is a complicated matter. The key factor is whether it was obtained fairly. Police must adhere to specific procedures, https://panchanandshaw.com/blog/consumer-vs-civil-remedy-explained/