I am subletting an apartment from a friend who is technically my landlord. I refused him entry late at night after we had a row about a longstanding problem with one of the facilities in the apartment I just moved in to. The friend is angry at me saying that I "Refused him entry to his own room", and sent messages requesting his room back within a week.
There was no notice given before he wanted to enter the room, it was just something he decided after we had already met that night.
Can I legally refuse entry to a landlord?