Who has the ability to take protective custody of a child?