Any offence brought to court and then abandoned as "not being in the public interest" - a catch-all phrase of no discernible meaning - is still classed as "an offence brought to justice" thus helping the CPS and courts hit Government targets.
What a silly age we live in!