RICHMOND — Richmond will not work with any companies that collect data shared with Immigration and Customs Enforcement.

The Sanctuary City Contracting and Investing Ordinance, passed by the council 6-1 on Tuesday, prohibits Richmond from investing or contracting with companies that provide “data broker” or “extreme vetting” services to ICE unless the council determines there is no reasonable alternative.

Richmond Mayor Tom Butt was the only person on the council to vote against the ordinance. In an email to this newspaper, he called it a “feel-good ordinance that has no substantive effect on making the immigrant community safer.”

Although the ordinance bars Richmond from putting any money into stocks, bonds or securities issued by companies that provide data broker or extreme vetting services to ICE, the city does not currently invest in any of those, Butt said.

The ordinance also calls for the city’s pension fund investments to comply with the ordinance; city workers’ pensions are handled through the California Public Employees’ Retirement System and not by Richmond.

“My colleague [councilman] Eduardo Martinez noted that there was no downside to this. I said it was the same as prohibiting elephants on Main Street,” Butt said.

Data brokers collect information — including personal information about consumers — and sell it to other businesses or government agencies, according to the ordinance. It defines “extreme vetting” as “data-mining, threat modeling, predictive risk analysis, or other similar service.”

Councilwoman Jovanka Beckles, in a statement, said the ordinance upholds the city’s “commitment to protect both undocumented community members and our city policies.” Beckles co-sponsored the ordinance with Councilwoman Ada Recinos. It was drafted and backed by a coalition of organizations called Deport ICE.

The council must vote on it a second time for it to fully pass.

Alameda, Berkeley and Oakland are considering the same ordinance, said Brian Hofer, of Deport Ice and chair of the Oakland Privacy Commission.

The ordinance adds to the city’s sanctuary policies which started in the early 1990s. Like other sanctuary cities, Richmond prohibits police or other city employees from cooperating with federal immigration enforcement.

Councilman Jael Myrick, at the meeting, said despite the city not currently investing in companies that provide data broker or extreme vetting services to ICE, the ordinance is important to send a message.

“There are times we need to be practical and compromise and times we need to draw a line in the sand, and this is one of the latter,” Myrick said.