Use three different sprites for the player, the trunk and the foliage. Then you change the z order of the sprites so that the player is in front of the trunk but behind the foliage.
Then you need to make the stump impassable by the player, depending on how your game is set up you could give both the player and it the solid behaviour.