Nothing in this chapter shall be construed as authorizing any public official, agent, or representative, in carrying out any of the provisions of this chapter, to take charge of any child over the objection of either of the parents of such child, or of the person standing in the place of a parent to such child, except pursuant to a proper court order.