A team of O’Melveny & Myers lawyers has sued Beverly Hills for grounding Bird’s fleet of shared motorized scooters.

A complaint filed Thursday in Los Angeles County Superior Court alleges the tony Southern California city illegally rushed through an emergency ordinance this summer barring the use of “shared mobility devices” within its boundaries and has since impounded more than 1,000 of Bird’s two-wheeled transports.