Nothing contained in the Oklahoma Children's Code shall prevent a court from immediately assuming custody of a child and ordering whatever action may be necessary, including medical or behavioral health treatment, to protect the child's health, safety, or welfare.
Okla. Stat. tit. 10A, § 1-4-207