Under the "political question" doctrine, courts actually do not resolve, well, political questions. The issue, then, is whether this particular dispute constitutes a political question. Clearly, the administration hopes to convince the court that it does.
I'm a lawyer, but I'm not your lawyer. If you need some honest-to-goodness legal advice, go buy some.