Sure, but those local laws have no relevance outside their jurisdiction. In this case, it's not clear that California isn't trying to extend its reach beyond its own borders.