Case highlights need for urgent reforms in the courts to protect children’s rights, says advocacy