McCain didn’t need a court ruling because he had a Senate Resolution.
Apples and Oranges.
McCain did not seek a Court resolution because he knew he could not get one.
The Senate resolution was not worth the paper it was printed on.