If the court finds that a tenant or a park owner has filed a frivolous petition for the purpose of harassing the other party, it shall assess the court costs and reasonable attorneys' fees against the petitioner.