If it can be legally proved that the jail is incapable of providing adequate care (seems pretty likely, considering how terrible American prisons are generally), then they’re within their rights to enjoin the court for other remedies.
Time to see if the courts actually care about unborn personhood, as much as they’ve been crowing about abortion.