
Come up/turn up trumps
Unexpected Success
Use it when someone succeeds in a way that is surprising or unforeseen. 
Positive Outcome
It implies that the outcome was positive, usually better than what others anticipated. 
Versatile Phrase
Can be used in formal and informal situations alike, but is more common in casual speech. 