Generally, a uncoerced statement to officers isn't automatically illegal, but its use in court is a tricky matter. The essential factor is whether it was obtained legally. Investigators must adhere to specific rules, https://panchanandshaw.com/blog/contempt-law-guide/