Generally, a free statement to police isn't inherently illegal, but its use in a trial is a complicated matter. The essential factor is whether it was obtained fairly. Officers must adhere to specific procedures, https://panchanandshaw.com/blog/contempt-law-guide/