Archie Battersbee's parents have lost a High Court bid to have him transferred to a hospice before his life-sustaining treatment is withdrawn.
The 12-year-old has been in a coma since he was found unconscious by his mother in April and is currently being kept alive by a combination of medical interventions, including ventilation and drug treatments, at the Royal London Hospital in Whitechapel, east London.
His parents have fought a long-running legal battle over the withdrawal of his treatment, which ultimately failed on Wednesday when the European Court of Human Rights refused to intervene.
Every parent will feel the pain of the family of young Archie Battersbee
His mother Hollie Dance, and father Paul Battersbee, launched an urgent bid to have him transferred to a hospice to die, resulting in a hearing which ran until late on Thursday night.
But, in a ruling on Friday morning, Mrs Justice Theis concluded it was not in Archie's best interests to be moved.
The judge said: "Archie's best interests must remain at the core of any conclusions reached by this court.
"When considering the wishes of the family, why those wishes are held, the facilities at the hospice, what Archie is likely to have wanted, ... the risks involved in a transfer ... and the increasing fragility of his medical condition, I am satisfied that when looking at the balancing exercise again his best interests remain as set out (in the ruling of July 15), that he should remain at the hospital when treatment is withdrawn.
"The circumstances outlined by Dr F of the physical arrangements at the hospital and the arrangements that can be made will ensure that Archie's best interest will remain the focus of the final arrangements to enable him peacefully and privately to die in the embrace of the family he loved.
"The parents in the email from their solicitors on August 2 confirmed, in principle, their willingness to co-operate in these arrangements."
The child has been in a coma since he was found unconscious at his home in Southend, Essex, on April 7.
Ms Dance believes he was taking part in an online challenge at the time he became ill. He has not regained consciousness since.
Ms Dance said on Thursday that she wanted her son to "spend his last moments" together with family privately, complaining of a lack of privacy at the hospital.
She told Times Radio on Thursday: "We can't even have the chance to be in a room together as a family without nurses."
She added: "There's absolutely no privacy, which is why, again, the courts keep going on about this dignified death - why aren't we allowed to take our child to a hospice and spend his last moments, his last days together privately?
"Why is the hospital obstructing it?"
Barts Health NHS Trust has said Archie's condition is too unstable for a transfer and that moving him by ambulance to a different setting "would most likely hasten the premature deterioration the family wish to avoid, even with full intensive care equipment and staff on the journey".
A High Court order made in July requires that Archie remains at the Royal London Hospital while his treatment is withdrawn.
A family spokeswoman said a hospice has agreed to take him.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here