With the approval of the petitioner and the department, if a child is in the custody of the department, a parent whose child is the subject of pending proceedings may, with or without admitting the allegations of the petition, stipulate that the child is in need of care according to Article 606, provided that:
La. Ch.C. § 647