Who said it was a local comedy? Santiago Segura’s “Torrente” saga, about a racist, sexist ex-cop, may be Spain’s biggest film-franchise ever, but it was commonly written off as too local — in its Spanish star cameos, and compendium of Spanish vices — to ever travel abroad.

But at Cannes Saturday, Guido Rud’s FilmSharks Intl. closed its tenth foreign territory deal on “Torrente 4,” where the eponymous sleazebag has to spring a jailbreak by staging a soccer match.

With Russia’s Kinopron just taking the former-Soviet Union, “Torrente 4” — which has grossed Euros19.6 million ($28.2 million) to date in Spain — has now sold to Argentina, Chile, Uruguay, Paraguay (CDI), Ecuador, Bolivia and Peru (Delta), former-Yugoslavia (Tuck Vision) and Hungary (Budapest Film).

“Torrente 4” will play Chile’s Sanfic festival late August

Breaking out of Latin America, offers are on the table from France and the U.S., said FilmSharks Intl,’s Guido Rud. There are also offers of interest in Dutch and German-language remakes, he added.

“When Santiago Segura made ‘Torrente 4” in 1998, there wasn’t such a market for gross-out comedies. Now he’s recognized as a pioneer of the genre,” Rud said at Cannes.