Pātuhitia tēnei: Working with the courts in child protection