How was a convicted sex offender granted asylum in the UK?

How was a convicted sex offender granted asylum in the UK?