This is, incidentally, what the judges are trying to determine in this case. If the court finds the agency's action is "arbitrary, capricious, an abuse of discretion, or otherwise not in accordance with law", it must hold that action to be unlawful and set it aside. 5 U.S.C. § 706.
I...