How France sank Japan's $40 bln Australian submarine dream

(Repeats story first published late Friday; no change to text)

* Ousting of Japan ally PM Abbott opened door to rivals

* Tokyo slow to respond to new competitive process

* France enlisted strong support from govt, industry

* DCNS's hiring of former Australian defence staffer was key

By Tim Kelly, Cyril Altmeyer and Colin Packham

TOKYO/PARIS/SYDNEY, April 29 (Reuters) - In 2014, a blossoming friendship between Australian Prime Minister Tony Abbott and his Japanese counterpart Shinzo Abe looked to have all but sewn up a $40 billion submarine deal. Then French naval contractor DCNS hatched a bold and seemingly hopeless plan to gatecrash the party.

Almost 18 months later, France this week secured a remarkable come-from-behind victory on one of the world's most lucrative defense deals. The result: Tokyo's dream of fast-tracking a revival of its arms export industry is left in disarray.

Interviews with more than a dozen Japanese, French, Australian and German government and industry officials show how a series of missteps by a disparate Japanese group of ministry officials, corporate executives and diplomats badly undermined their bid.

In particular, Japan misread the changing political landscape in Australia as Abbott fell from favour. The Japanese group, which included Mitsubishi Heavy Industries (MHI) and Kawasaki Heavy Industries (KHI), also failed to clearly commit to providing skilled shipbuilding jobs in Australia. And Tokyo realized far too late its bid was being outflanked by the Germans and particularly the French, the sources involved in the bid said.

France, on the other hand, mobilised its vast and experienced military-industrial complex and hired a powerful Australian submarine industry insider, Sean Costello, who led it to an unexpected victory.

Japan's loss represents a major setback for Abe's push to develop an arms export industry as part of a more muscular security agenda after decades of pacifism.

"We put our utmost effort into the bid," the head of the Ministry of Defense's procurement agency Hideaki Watanabe said after the result was announced on Tuesday. "We will do a thorough analysis of what impact the result will have on our defense industry."

By the end of 2014, Japan was still comfortably in the driving seat thanks to the relationship between Abe and Abbott, which had begun soon after Abbott's 2013 election and strengthened quickly.

Japan and Australia - key allies of the United States - had wanted to cement security ties to counter to China's growing assertiveness in the South China Sea and beyond.