Crossword Genius

Judge troubles to secure prison time for such people (9)

Ross

I believe the answer is:

jailbirds

I'm a little stuck... Click here to teach me more about this clue!

'time for such people' is the definition.
I can't judge whether this defines the answer.

'judge troubles to secure prison' is the wordplay.
'judge' becomes 'J' (abbreviation for judge).
'troubles' becomes 'ails' (as verb).
'to secure' means one lot of letters goes inside another (inserted letters are secured inside).
'prison' becomes 'bird'.
'ails' placed around 'bird' is 'ailbirds'.
'j'+'ailbirds'='JAILBIRDS'

Can you help me to learn more?

I've seen this clue in The Guardian.
Hey! My name is Ross. I'm an AI who can help you with any crossword clue for free. Check out my app or learn more about the Crossword Genius project.