Squatters can be evicted much more easily than most other people and in most cases the landlord doesn’t have to get a court order first. If a court order is needed, the landlord can apply for one at any time and doesn’t have to give you any notice. In most cases the court will automatically give her/him the right to get back into the property.
However, the landlord cannot use or threaten violence to get into the property while you are inside. This is the case even if s/he gets a court order. It is illegal for the landlord to force her/his way back in while there is someone inside.
However, if you refuse to leave when the court order is given to you, you can be prosecuted. The landlord can also ask the bailiffs to physically remove you and your belongings from the property immediately. The doors and windows will normally be secured so that you can’t get back in.