If those who committed the assault or battery claim to have any right over the leased thing, or if the lessee himself is summoned to court to be ordered to surrender all or part of the thing, or to suffer the exercise of any easement, he must call the lessor as guarantor, and must be put out of action, if he so requires, by naming the lessor for whom he owns.