Cruz would still need 270 electoral votes regardless of what the courts decided.
Hillary would most likely get that and then we all win, right?