What I'm saying though, is that he has room enough to interpret things so that a dismissal isn't necessary.
It isn't the job of the courts to make minimal rulings and avoiding all substantial questions, but to solve disputes. Here we have a case where the government has harmed people in a way that would be a tort if it had been done by anybody else, and people arguing that the government by doing so breached a right. There is presumably a right which can be interpreted as guaranteeing that people's bodies won't be messed with, or things in the US would be quite strange, so there's room to do something useful here, and the judge's choice is not forced.
The judge can only rule on the arguments and evidence presented in their court.