But in his second term, after some of those judges failed to rule in his favor in cases testing the legality of his policy ...