@Wileymiller it's important to emphasize that no, there's not much the court can do because it's the wrong branch of government: it's Congress, not the Court, that's authorized to, and accountable to voters for, doing what they determine is needed with regard to the executive.
This isn't the end of democracy in the country. It IS democracy in the country. We elected congresspeople who are enabling all of this, so democracy is guiding this whole thing.
@Wileymiller If you're talking about the US system, you have that backwards.
The US system emphatically and actively is designed to keep that kind of authority away from the courts. We don't give the courts that authority to override democratic processes.
And so enforcing court orders is emphatically left to the Congress. We elect the people that we want to handle that enforcement.
This is a core part of separation of powers in the US system.
@volkris
Enforcing court orders is the jurisdiction of the judiciary, not Congress.