Lord Justice Pitchford and Mr Justice Simon ruled the anonymity order must be discharged.
The judge said that the course used by David McGreavy's legal advisers when applying for anonymity was "wrong".
The ruling was a victory for the Justice Secretary and national newspaper publishers who all worked together last month, after the Press Association alerted them, to say that the order was legally flawed and was wrong to stop the public from knowing all the facts in the case.
Counsel Guy Vassall-Adams had told the judges that even "the nature of the victims" could not be revealed.
More top news
Robbie Williams is selling some of his 'prized possessions' to raise money for a children's hospice in his home town of Stoke-on-Trent.
A family of five have been involved in a 'significant' car crash in Hereford, which left a father, mother and three children in hospital.
After a dry spell we have some unsettled weather on the way and that means plenty of rain. Read on for more information