What are these refineries?The average age of US refineries is 75 years. We haven't built any new ones in decades. Things haven't changed much, so yes could easily be maintained for continued use. California is suing all the major oil companies including Phillips 66 for "causing climate change", so likely the main reason for leaving.
My question for the prosecutors of said lawsuit. Did they ever drive a ICE car anywhere and also contribute? The state still lets petroleum be sold, so how can they sue the producers of it? Hypocrite much?
https://www.eia.gov/tools/faqs/faq.php?id=29&t=6