Happened a lot to us in Asia. Esp SE Asia. I think hotels there do have a lot of escorts-type situation and they have to enforce their policies. I understand. I started to hold up my key card when I approach the door.
Well. I just keep telling myself it's a compliment.