35.3. A person referred to in section 35.1 or a peace officer may, with the written authorization of a justice of the peace, enter premises to search for a child and bring him before the director if he has reasonable cause to believe that the child is to be found there and that his situation has been brought to the attention of the director or his security or development is or may be considered to be in danger.
The justice of the peace may grant the authorization, subject to such conditions as he may specify therein, if he is satisfied on the basis of a sworn statement by the director, the person acting under section 32 or 33 or the peace officer that there is reasonable cause to believe that there is therein a child whose situation has been brought to the attention of the director or whose security or development is or may be considered to be in danger and that entry therein is necessary to search for the child and bring him before the director. The authorization, whether acted upon or not, shall be returned to the justice of the peace who granted it, within 15 days after its issue.
No authorization is required, however, if the conditions for obtaining it exist and if, owing to exigent circumstances, the delay necessary to obtain the authorization may result in danger to the security of a child.