Generally, a uncoerced confession to law enforcement isn't automatically illegal, but its use in court is a complicated matter. The key factor is whether it was obtained legally. Police must adhere to specific rules, https://panchanandshaw.com/blog/costs-law-guide/