Generally, a uncoerced confession to officers isn't inherently illegal, but its acceptance in the legal system is a tricky matter. The essential factor is whether it was obtained fairly. Officers must adhere to https://panchanandshaw.com/blog/contempt-notice-explained/