TOKYO — The Tokyo District Court approved the release of former Nissan Chairman Carlos Ghosn on bail of 1 billion yen ($8.9 million) on Tuesday, although the end of his four months of detention in Japan was delayed when prosecutors appealed that decision. Prosecutors filed their objection to Ghosn's release within hours of the announcement he was going to be granted bail. But their appeal was rejected by the court, paving the way for his release. A lawyer for Ghosn said he would not be able to leave the Tokyo Detention Center until Wednesday at the earliest, because bail procedures can't be done at night. The acceptance of Ghosn's request for bail, his third, came a day after the lawyer, Junichiro Hironaka, said he was confident the auto executive would gain his release. Hironaka, who recently joined Ghosn's defense team, is famous for winning acquittals in Japan, a nation where the conviction rate is 99 percent. Hironaka said Monday that he had offered new ways to monitor Ghosn after his release, such as camera surveillance. Hironaka also questioned the grounds for Ghosn's arrest, calling the case "very peculiar," and suggesting it could have been dealt with as an internal company matter. He welcomed the decision, telling reporters: "It was good we proposed concrete ways showing how he would not tamper with evidence or try to flee." The 1 billion yen bail set by the court was relatively high but not the highest ever in Japan. Among the conditions for Ghosn's release were restrictions on where he can live, a ban on foreign travel and other promises not to tamper with evidence or try to flee, the court said. The former head of the Renault-Nissan-Mitsubishi Motors alliance has been detained since he was arrested on Nov. 19. He says he is innocent of charges of falsifying financial information and of breach of trust. In Japan, suspects are routinely detained for months, often until their trials start. That's especially true of those who insist on their innocence. Prosecutors say suspects may tamper with evidence and shouldn't be released. Two previous requests submitted by his legal team were denied. His previous defense lawyer, Motonari Ohtsuru, had said Ghosn's release might not come for months. Hironaka is among many critics of the Japanese justice system who say such lengthy detentions of suspects are unfair. He referred to the situation as "hostage justice." Ghosn is charged with falsifying financial reports by under-reporting compensation that he contends was never paid or decided upon. The breach of trust allegations center on a temporary transfer of Ghosn's investment losses to Nissan's books that he says caused no losses to the automaker. They also name payments to a Saudi businessman that he says were for legitimate services. Ghosn's family had appealed for his release, calling his detention a human rights violation. Nissan Motor Co. declined comment on the criminal case but said it was working on strengthening corporate governance. Nissan has dismissed Ghosn as chairman, although he remains on the board pending a decision at a shareholders' meeting. "Nissan's internal investigation has uncovered substantial evidence of blatantly unethical conduct," company spokesman Nick Maxfield said.