Toyota is the world's largest automaker, a fact that is sadly evident on many battlefields. The company's Hilux pickups are the vehicle of choice in conflicts around the world, and its other models enjoy plenty of demand, too. Libya is certainly no exception.

Footage of the country's 2011 revolution often featured fighters bumping along in Toyotas as they rushed to the frontlines. And that's still the scene three years later: As militias from the town of Misrata overran the capital city of Tripoli at the end of August, they did so in their trusty Japanese trucks.

"It’s just generally they seem to tackle everything a lot better," said one fighter at a checkpoint on Tripoli's outskirts. "They’re very powerful: They’ll tackle sand, road, off road. Whatever you want it to do — and they’ll do it with the weapons on board, too."

The checkpoint featured four pickup trucks, all Toyotas and all with machine guns mounted in the backs. Those heavy anti-aircraft guns were the most common weapons, but some trucks sported the long tubes of rocket launchers.

At a nearby militia base, all of the choices were on display at the gate. The older trucks, fighters said, were snatched from forces loyal to former Libyan dictator Muammar Gaddafi during the revolution. The newer ones were simply bought from Toyota and jerry-rigged with weapons.

Toyota pickup trucks mounted with anti-aircraft machine guns outside of a militia base in Tripoli housing fighters from the city of Misrata. Credit: Marine Olivesi

The company opened its first dealership here in late 2010, then quickly closed because of the fighting. But when they re-opened a year and a half later, Toyota wasn’t too happy with how Libyans had pimped their rides.

At his spotless showroom in downtown Misrata, Ahmed Sadawi showed off a Land Cruiser 70, one of the most popular models. Sadawi is the city's official Toyota dealer. He doesn't sell certain versions of trucks, which he hopes will cut down on their battlefield appearances.

"Picture a bunch of magazines on top of each other," he said, describing the Land Cruiser's suspension system. "The more layers of magazine, the more the car can handle. The LC70s come in different specifications, they either come with 8 or 11 [layers]. The ones that we import are the 8 layers."

In other words, the ones less able to handle the weight of a big machine gun. "For a car to handle a lot of weight, like the anti-aircraft missiles or weapons you're talking about, it would need to have more," Sadawi said

He also said the decision not to import the stronger trucks wasn’t made by him — headquarters made the call. The company has also asked the retailers to look into who’s buying.

"We are bound by contract to refuse to sell to anybody who might use our products to cause chaos or trouble anywhere in Libya," Sadawi explained.

If that sounds complicated, it's for good reason. It's hard to predict what a customer will do with his truck. There's really only one rule of thumb, Sadawi says, which applies to unusually large orders: "Anybody who does not fall under the Ministry of Defense or the Ministry of Interior or the Ministry of Foreign Affairs, we have the right [to refuse] — and we have refused to sell to before."

And that’s where things get even more complicated.

Since the 2011 revolution, militias have held sway over Libya, and most were integrated into Libya’s security forces. That includes the brigades from Misrata that overran the capital.

Those brigades, which are Islamist-leaning groups, are battling Libya's newly elected parliament. But while they're fighting the government, the Misratans are still on government payroll. So technically, they can legally buy all the Toyotas they want at official dealerships.

And the company's attempts to limit the strength of the trucks he sells are of little consequence: Ever since the revolution, Misratans have been experts in pushing the boundaries of what their Toyotas can do.

Workers at a militia car workshop in Misrata. Fighters usually drop off their pickups and heavy weapons in the morning. Their cars are turned into fighting vehicles by the end of the day. Credit: Hassan Morajea

At the city's Technical Institute, workshops have become militia motor pools, where Toyotas get the necessary upgrades for battle. One of the men who does the work is Abdelsalam Gargoum, who normally teaches mechanics.

"Generally, the way it works is the brigade will approach us. They’ll say, 'Look, we’ve got x numbers of cars and we need you to put this on this car, this on that car, different types of weapons and so on,'" Gargoum explained. "We’ll look at the car, we’ll see if it’s capable of carrying the weight of the weapon they’re asking for. If not we’ll make a few suggestions about what they could change or what alternative weapons could cover instead."

Gargoum and his crew sometimes have to dismantle the back of the truck to make space and lose weight for the heavy stuff. That’s where Toyotas come in handy, he says. They're more robust and have ample spare parts.

His latest project is waiting for collection: It's a Land Cruiser 70, the same model Sadawi displayed in his showroom — now mounted with four Grad missile launchers.

Gargoum pointed to it with a mixture of pride and sadness. He learned his craft during the siege of Misrata, a key moment of the 2011 revolution, but he never thought he’d be back at it again just three years later.

"I didn’t think that we were going to have to come back and restart," he said. "I had people coming to me after the revolution asking if I could mount weapons and I just said, 'No, we’re not mounting any more. What do you need a weapon for now? The fighting is over.'"

That all changed this July when rival militias turned their guns — and respective Toyotas — on each other again.

"I don’t even really like weapons," Gargoum said. "I’ve never really liked them and never thought of this being a job for me!"

But Abdelsalam doesn’t know yet when he can go back to teaching. He's seen a few students lately — they've asked him to mount weapons on their pickups.