A Japanese court has granted bail to ousted Nissan chairman Carlos Ghosn more than three months after his arrest for alleged financial crimes.

He was released on bail on condition he submit to video monitoring and stay in Japan. 

Prosecutors appealed against the decision and demanded the architect of the Renault-Nissan partnership, and until his arrest in November one of the global auto industry's most feted executives, remain in jail pending his trial. 

Judges at the Tokyo District Court earlier accepted defence lawyers' assurances that Mr Ghosn would submit to extensive surveillance and set his bail at 1 billion yen (€7.9m), a win for his new legal team on his third bail request.

Mr Ghosn's release would allow him to meet more frequently with his lawyers and build his defence ahead of his trial in the coming months.

He faces charges of aggravated breach of trust and under-reporting his compensation at Nissan for nearly a decade to the tune of €72m. 

If convicted on all the charges he faces up to ten years in jail. 

The ex-chairman of Nissan, Mitsubishi Motors and France's Renault has denied wrongdoing. 

While Mr Ghosn's bail amount is among the highest on record in Japan, it is half the 2 billion yen paid in 2005 by Mitsuru Asada, a businessman who was later convicted of defrauding the government through a beef buy-back programme.

Mr Ghosn, who turns 65 on Saturday, has spent more than 100 days in a 52 square foot cell. 

In his only court appearance, he said in January he looked forward to his trial to "finally have the opportunity to defend myself". 

In an interview later that month with Japan's Nikkei newspaper, he said Nissan executives opposed to his plans for closer ties with partner Renault were behind the allegations against him. 

Nissan declined to comment on the bail decision, which comes a day after the head of Mr Ghosn's new legal team said he was optimistic the executive would be released with a promise to submit to surveillance. 

The appointment of lawyer Junichiro Hironaka, nicknamed "the Razor" for his combative style, to lead his defence is widely seen as a move to adopt a more aggressive legal strategy. 

Hironaka has argued the allegations should have been resolved as an internal company matter, and blasted the judicial system for keeping his client in jail. 

Mr Ghosn's France-based lawyers meanwhile revealed that they had complained to the United Nations that his rights had been violated during detention in Japan. 

The case has sparked criticism of Japan's criminal justice system and some of its practices, including keeping suspects in detention for long periods and prohibiting defence lawyers from being present during interrogations, which can last eight hours a day. 

Shin Ushijima, a former prosecutor and lawyer, said that public opinion likely played a role in the court's decision to grant bail, along with assurances from his lawyers that he was "prepared to be under any restraint". 

"The court was partly influenced by the opinion of the entire world - people in general thought the detention period is too long. This will change Japan's criminal procedures," he said. 

Having secured his freedom, Mr Ghosn now faces a criminal justice system where only three of every 100 defendants pleading not guilty are acquitted. 

There is also no plea deal mechanism that would allow Mr Ghosn to agree to lesser charges for a lighter sentence.