wyciągnąć asa z rękawa

Etymology
lit. 'to pull an ace out of one's sleeve'.

Verb

 * 1)  to pull an ace out of one's sleeve