We decided to no longer allow our cats access to our bedroom so we close the door now all the time.
They have had access to the room and slept their a lot during the day, but we felt it was unhygienic and they have a huge house at their disposal. So everything was fine, they occasionally got in...