That’s not my understanding in San Jose, CA. Municipal Code seems to indicate that tows from parking in violated spots makes the city exempt from action. Maybe the code is illegal, but the section is printed on all the parking signs here and seemed legit to me (I’m not a California lawyer).