I think part of the plot of A Clockwork Orange was that criminals needed to be released in order to make room for political prisoners.
Life imitates art.
Also, many revolutionary governments have used criminals as de facto paramilitary shock troops against the populace. Criminal auxiliaries, as it were.
Yes, that was the final and surprise horror of the film.