The move came after California’s Department of Motor Vehicles ordered the cars off their highways, citing an “imminent hazard to public safety.”