I would suspect that this is highly jurisdiction-dependent. Around here (random EU country), it would instantly make all studio flats unrentable, so I don’t think that’s the case. Most of them have a bathroom door, though.