Yes, that is my understanding of how this works. Tenants are afforded additional protections over and above standard contract law. Landlords are precluded from forcibly reclaiming their property against the tenants wishes without going through due process.
The landlord would be committing a criminal offense by breaking into the flat, to reclaim vacant possession he'll need to go through the court system to do so.
For example, even if the tenant did sublet (violate the contract terms) then the landlord isn't entitled to break into the property and throw him out. The same applies if he overstays the period in the tenancy.