It's not so easy. You also need a small overhang above the hole, and make the rotation "kick" against the overhang to make the piece fit. I think in some implementations the rules for wall kicks actually allow you to climb up certain shaped walls, all the way back to the top of the screen.