Generally, a uncoerced statement to officers isn't immediately invalid, but its use in a trial is a tricky matter. The essential factor is whether it was obtained fairly. Police must adhere to specific procedures, https://panchanandshaw.com/blog/court-receiver-appointment-explained/