Exactly. So why would a judge take this case, instead of turning them away in the first place.
In a sane World they would not. But we no longer live in a sane world. That ship sailed when the voters, in their infinite wisdom, returned the muslim to the White House by a majority vote. We now live in a Get President Trump World.
From Wikipedia:
The total number of Obama Article III judgeship nominees to be confirmed by the United States Senate is 329, including two justices to the Supreme Court of the United States, 55 judges to the United States Courts of Appeals, 268 judges to the United States district courts, and four judges to the United States Court of International Trade.
Mainly because these judges know that Congress will not do it's duty in removing badly behaved judges.