Law No. 13 of 2011 applies to companies and businesses acting as middlemen of real estate properties for the purpose of sale or lease.  In the query case, the man was only shared a flat or room by the main tenant which was not covered by formal agreement.  In the tenant's contract there's a clause limiting the sublease of property, however it is possible with the consent of property owner or manager.  Nevertheless, the main tenant has no legal hold on anyone sharing the flat or room as the case may be, but liable to the owner if the flat was subleased without permission of the latter.  The man may reverse the situation turning it instead against the tenant who subleased the flat to him, by reporting to the police the threat and intimidation which has caused him mental anguish (although I don't believe this is necessary).