Regardless of any one's opinion about this being right or wrong, good or bad, Google has spent enormous resources preparing for this moment. From lobbying efforts to the Alphabet restructuring, Google has been acutely aware of this possibility years ago.
This will not be an easy case for the states.