The California supreme court, that is., in a ruling Monday.