6. Following a motion by the defendant alleging that the defendant has substantially complied with the terms and conditions of probation and that the defendant no longer poses a risk to the safety, health or well-being of the surrounding community or parties, and a five-day written notice served on the plaintiff specifying the time and place of the hearing and the particulars of the motion, the court may conduct a hearing on the motion. Upon finding sufficient evidence to support the motion, the court shall discharge the order of eviction or removal and shall dismiss the cause of action. The order of eviction or removal shall automatically be deemed discharged and the cause of action automatically deemed dismissed upon expiration of the term of probationary tenancy. -------- (L. 1997 H.B. 361)