The Texas Department of Family and Protective Services filed a motion for emergency relief at the Texas Supreme Court on Friday, seeking a court order that would allow it temporarily to keep custody of children removed from the Yearning for Zion ranch near Eldorado, Texas.

In the motion, TDFPS seeks a stay to prohibit the state’s 3rd Court of Appeals from enforcing a conditional mandamus it issued on Thursday that orders 51st District Judge Barbara Walther to vacate her order giving the department temporary custody of some of the 450 children who had been living at the polygamist compound.