California frequently fought first Trump administration in court