Police in California are not immune from civil lawsuits for misconduct that happens while they investigate crimes, the state Supreme Court ruled this week, overruling a precedent made by lower courts that had helped protect law enforcement from litigation for decades.