§ 4762. When judgment shall not prejudice landlord
When the plaintiff neglects to join the landlord, if any, with the tenant in such action, or by collusion with the tenant recovers judgment against him or her for the seisin of lands, such landlord shall not be prejudiced thereby, but shall be held to have the prior possession in a trial thereafter had of his or her right to such lands against the person so recovering, or a person deriving claim from him or her.