A sentence of imprisonment for public protection, which had been unlawfully imposed following an offender’s guilty pleas to two offences of indecent assault committed before the Criminal Justice Act 2003 Pt 12 s.225 came into force, was quashed and replaced by an extended sentence.