29. Effect of dismissal of petition for ejectment.