Civil servants could be prosecuted for allowing migrant sex offenders into the UK under a Reform UK government.