because if you get mugged abroad and that piece of paper goes away along with your wallet, you are shit out of luck. A hotel can give you a lot of support in situations when you're stranded abroad. On top of granting you access to the room, they can call people on your behalf, provide a wellfare check in case you've gone missing, etc..