Tell that to Connie Rhodes. She tried suing to block deployment claiming Obama was illegitimate. The judge tossed her suit and she wound up in the sandbox anyway.
That was a civilian judge, this would be a Court Martial, composed of a board of officers, none of which are likely to be lawyers, and most of which, given his command, may be doctors. Doctors are not overly happy about Obamacare, probably not even military ones.
A lot would depend on just who those officer are. Unlike a civilian jury, who must just sit there and listen to whatever the lawyers wish them to hear, the Court can ask questions, and require evidence or people to be produced.