Uber and 99 are fierce competitors in Brazil, battling for drivers, riders, and market share. But a decision by the city of São Paulo to ban motorcycle taxis has done something unusual: it has turned the two rivals into allies, united against a common opponent.

The ban was introduced on safety grounds, reflecting concern about accidents and unregulated service. For the companies, however, it threatens a growing segment of the market, and both have pushed back, arguing that the rules ignore the needs of riders and the livelihoods of drivers.

The dispute is a reminder that the ride-hailing industry is not simply a story of companies competing with one another. It is also a story of companies competing with governments over who sets the terms of the urban economy. When regulation arrives, old rivalries can fade quickly, and former enemies can find themselves fighting side by side.

The episode is a reminder that in the platform economy, the biggest battles are often not between companies at all.