You are still required to correct the violations even if it was your tenant who caused the violations. However, you should tell the judge about the situation. You can sue your tenant in civil court for any damages that he or she caused. You can also try to evict the tenant if the damages are very serious.