Just over 18,000 foreign offenders subject to deportation were living freely within the community after serving their sentence when Labour won the election in July 2024.