I do not know when the law was made. But the text of section 2872 at the bottom of that page suggests it was somewhere around 1980.
It seemed like they were pulling a fast one, but basically they were compartmentalizing so they could claim the maximum rights should the law be struck down or repealed (or the business moved outside California, I guess).