Importance of lease in illegal apartment?
I need to break my lease. I have given almost 3 months notice and LL is fine with my finding a new tenant to cover the remainder of lease. However, other tenants (different "unit") want a friend to move in, and their friend's desired move in date will not meet my needs. Nothing has happened yet, but I am worried that they will convince LL that I need to fulfill dates of lease to accommodate their friend. I am confident that I can find someone else to replace me on the dates that I need otherwise.
So I went back to the signed lease, which is between me & LL (not those other tenants). I don't really understand why LL split house into two separate leases, but I am starting to think that doing so is illegal. After some research, I am fairly certain the apartment is illegal and violates some building code provisions. At the same time, we do not have too many unrelated people living under one roof. What are the rules of thumb for determining whether an apt is legal or not?
I want to know what this means in the state of VA. Does the lease still apply if the unit is illegal? Is it even worse than I thought and not only does the lease not apply but do I technically not have any tenant rights? Should I be concerned now that I suspect it is not a legal apartment? I am curious about the law and the implications of this situation. I am mostly crossing my fingers that the LL lets me find someone to take my place and the illegal apartment issue becomes their problem.