In continental Europe, where armoires are a thing, I actually can’t remember living in any home that had a closet in any room with a bed, so I can’t see closet being in the definition of bedroom.
Did you read my comment? I never said closets are a thing in europe. I said that I think it's part of the regulation in the US. More importantly I linked to detailed regulation in the UK that defines what a bedroom is.