Couldn't California and other states just put in their state law that it won't take effect until a certain number of other states do as well?
This wouldn't be a contract, compact or confederation as agreements with other states would be not be necessary.
Case law says reciprocal legislation is a compact. See the link I posted.