A lawsuit is underway in California, which could reshape energy production and property rights in the Golden State.