Don't offices and residential buildings have different building regulations, not to mention licenses. I don't know much on the subject but it would't surprise me if this was either illegal or only legal in a small set of cases where the buildings are up to standard.