To be in trouble and/or tough situations, with everything and everyone seeming to be against you, yet you come out on top, no worse for wear.
I came out of it, smelling like a rose.