Dr Piers Von Berg, a senior lecturer in human rights law at Birmingham City University, said judges must carry out a “balancing exercise” between the potential harm to the child, and the harm to the public of not lifting restrictions.

He said having a young person’s identity made public was “to all intents and purposes irreversible, in the world of the internet and social media”.

But he added that judges would also consider public concern, particularly around issues such as knife crime, and the desire to prevent misinformation.

On Thursday, the Attorney General’s Office said it had received multiple requests for Moulton’s sentence to be reviewed under the Unduly Lenient Sentence scheme.

A spokesperson added those requests would be considered to see if the minimum term could be increased.