Trump emergency declaration faces fights in the courts