You make the incorrect assumption that all Republican-appointed judges are knee-jerk ideologues. Roberts was a Bush-appointee and he saw the massive flaws in Trump's first attempt and shut it down. It is a ban based on religion and every intelligent person understands it as such.