On June 27 federal judge Dana Sabraw ordered that the Trump administration had to reunify the families that were separated when they tried to enter the US. Children under 5 had to be returned to their parents within 15 days, other children within 30 days.
On July 6 the administration asked for more time, as they were having difficulty implementing the order (it's a logistical nightmare because different agencies deal with the children and the adults). This request was refused.
What happens if the administration doesn't meet the deadlines? How can the court actually enforce its order?
I suppose this is just an example of a more general question: when a court orders the federal government to do (or not do) something, how are such rulings enforced? If an administrator makes the decision to ignore the order, I suppose they can be punished, but what if the order comes from the President? Would it be an impeachable offense?
Or in this case, suppose the administration makes an effort to comply, but simply can't achieve what was ordered?