Enforcing a Federal court order...
The devil is in the details.
“Enforcing a Federal court order...”
Irrelevant.
He has the power to enforce the law when local authorities demonstrate they are unwilling or unable.
And that’s without using any of his Emergency powers.