Unlike the sealed beam headlamps however, this law isn't requiring any particular technology. It's just outlawing a known harmful one.
In some ways this is nicer because a company doesn't need to do specific emission and noise testing certifications to comply with a single municipalities regulations. So people in Oakland can have potentially more choices while achieving a reduction of combustion emissions.