In the sentence below, what does "take the cake" mean?
Doesn’t it take the cake for a French leader to talk about intervention in the Lebanese political process?
P.S. The sentence above is just to illustrate my question. If it has a more general meaning, I would like to know.
The origins are obscure, but basically seem to indicate that taking the cake/biscuit meant that someone had won or achieved something> Take the cake