So you are renting a house and the landlord has had this property repossessed by the mortgage company. Is that correct?
Suggest you go and get some advice quickly - before the court hearing. Go and see your local branch or Shelter or Citizens Advice Bureau. If you have just received the notice of the court hearing then you probably have only 2 weeks to act - so go get advice straight away!