It's the answer from Lawyer, from legal point of view,
1 Landlord has the right to let you go. You have to move. Unless you could reach an agreement with the landlord.
2 If you go to the court, the former tanent is the one you could sue (not landlord). You could claim all the expense incurred by your moving and let it paid by the previous tanent.