The court has also refused permission for the parents of the terminally ill toddler to appeal.