The central twist of "Miracle in Cell No. 7" is not a sudden reveal but a tragic inevitability that the audience hopes against. Despite the inmates' and the prison warden's best efforts to prepare Yong-gu for his retrial and prove his innocence, the police commissioner intervenes. He brutally beats Yong-gu and threatens to harm Ye-sung if he doesn't confess. In a heartbreaking act of self-sacrifice, Yong-gu falsely confesses in court to protect his daughter, leading to his death sentence. His execution is carried out on December 23rd, which is also Ye-sung's birthday.
The inmates' elaborate plan to help Yong-gu escape via a large hot air balloon also fails dramatically when the rope catches on the prison's barbed-wire fence, a poignant visual metaphor for their dashed hopes. This sequence underscores the impossibility of escaping the powerful and corrupt system they are up against.
The film's ending provides a powerful, albeit bittersweet, resolution. Years later, the adult Ye-sung, now a lawyer, successfully reopens her father's case. In a mock trial, she brings together the former inmates of Cell No. 7 and the retired prison warden as witnesses. She emotionally and methodically proves her father's innocence, finally winning him a posthumous acquittal. The final scene shows her looking at the hot air balloon from her memory, symbolizing that while she couldn't save his life, she has finally cleared his name and set his spirit free, fulfilling her lifelong mission. This ending reveals that the 'miracle' was not about saving Yong-gu's life, but about the enduring love he inspired, which ultimately led to the triumph of truth.