No order of any court granting declaratory or injunctive relief from the order of the President issued under section
904 of this title, including but not limited to relief permitting or requiring the expenditure of funds sequestered by such order, shall take effect during the pendency of the action before such court, during the time appeal may be taken, or, if appeal is taken, during the period before the court to which such appeal is taken has entered its final order disposing of such action.