Trump administration challenged the restraining order, arguing that blocking a presidential act before its announcement would undermine executive authority.