Generally, a free confession to officers isn't automatically invalid, but its use in the legal system is a complex matter. The vital factor is whether it was obtained legally. Officers must adhere to specific rules, https://panchanandshaw.com/blog/counter-claim-explained/