It appear to me that you are a sub-tenant, and the Unlawful Detainer action is between the Landlord and the Tenant (which you labeled "Sublandlord"). Unless you have approval by the Landlord of your sub-tenancy or assignment of the Lease, there is no privity among the two of you. Therefore, the court will deal with the issue at hand which is the dispute between the Landlord and Tenant, and you will be out of luck! This area of litigation can get very complicated, I strongly recommend you hire a Unlawful Detainer Lawyer before the trial is over.
Your post is a jumble and does not explain things well enough for you to get any general legal information.
Remember too, Avvo is not a place for legal advice and it appears that is what you need.
It is unlikely that the court will provide a mistrial based upon that argument. Bear in mind that the judge is not going to walk you through the process because the judge must be impartial to both parties. So if one party is making legal arguments and the other side is making passionate non-legal arguments, then the judge has to rule in favor of the legal argument, which is the reason it pays to be represented by legal counsel. Good luck.
The response above is not intended as legal advice since it’s impracticable to provide thorough, accurate advice based upon the query without additional details. It is highly recommended that one should seek advice from a criminal defense attorney licensed in your jurisdiction by setting up a confidential meeting. Moreover, this response does not constitute the creation of an attorney-client relationship since this message is not a confidential communication because it was posted on a public website, thereby publicly disclosing the information, which is another reason to setup a confidential meeting with an attorney.
I think it is time to hire an attorney. You have attempted to represent yourself, but you are all tangled up in legal issues you do not know how to handle. If you chose to represent yourself, you are held to the same standard of performance as an attorney, so if you do not know certain things or what to do, you are not given a break because you are without an attorney. Hire an attorney - unfortunately you are over your head.