“The U.S. Constitution’s Elections Clause is clear that it’s the state legislatures...”
Very clear, completely unambiguous statement in the Constitution so we will have to wait and see if the Supreme Court terminates the Constitution.
An argument can be made that an unconstitutional drawing of representative districts is within power of courts to rule on. The classic is racial gerrymandering. (BTW the NC demonkkraps on past racially gerrymandered to ensure a black lefty demonkkrap was elected to Congress). But if a court finds an unconstitutional drawing of the districts, the court should not be empowered to redraw the maps itself, nor delegate the redrawing of the maps.
Also, if I am still up to date ... plain old party gerrymandering has never been held as unconstitutional. The NC demonkkraps have a very long history of gerrymandering - more than 100 uninterrupted years worth. I hope this was pointed out in the case before the court. They came to court with dirty hands.