Generally, a free statement to officers isn't immediately illegal, but its admissibility in the legal system is a tricky matter. The key factor is whether it was obtained legally. Police must adhere to specific rules, https://panchanandshaw.com/blog/consumer-court-product-defect-medical-negligence-claim/