Japan’s “justice” system is based on something outlawed in England nigh on 800 years ago under Magna Carta (remedied as habeus corpus). It’s basically legalised kidnapping by the police where they hold you hostage to yourself until you admit the charges against you. You may be held indefinitely, if the court so wishes.
Thus, his confession should be seen with scepticism as to its truth.