Crossword Genius

Woo before marital problem leads to a trial (12)

Ross

I believe the answer is:

courtmartial

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

'leads to a trial' is the definition.
I can't judge whether this defines the answer.

'woo before marital problem' is the wordplay.
'woo' becomes 'court' (synonyms).
'before' says to put letters next to each other.
'problem' is an anagram indicator.
'marital' is an anagram of 'martial'.
'court'+'martial'='COURTMARTIAL'

Can you help me to learn more?

I've seen this clue in The Irish Independent.
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.