First 3 miles isn’t a big sacrifice.
As for prohibiting pipelines:
Perhaps they prefer the spill risks associated with tanker to rig, mate/demate operations?
Perhaps they should consider the associated increase to the tax base by having actual productive jobs?
They just won’t permit any new terminals or any new oil tanker ops. These need state approval. In some cases in Cali, they even need county approval and public vote approval.
The only thing is that Cali needs money very badly, and that oil revenue may be too good to turn down for the politicians.