>But it does not remove the ability of the court to overrule the clause itself. So someone could still sue Instacart knowing that it will be thrown out if the court decides to enforce the clause.
Which they will. There's been a few recent cases that have made mandatory arbitration clauses more-or-less bulletproof.