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