Judge Napolitano said on Cavuto just now that he thinks there'll be a 5-4 SCOTUS decision upholding this ruling with Kennedy voting with the liberals. He bases that opinion on a previous ruling in Colorado in which Kennedy voted to invalidate a law interfering with gay rights.
The state of CA has the option of not recognizing its law being overturned by a rogue federal government.