Prosecutors have convinced a Tokyo court to detain former Nissan and Renault chief Carlos Ghosn for 10 days for further questioning though his lawyer said he would appeal.