I agree there’s zero chance of written documentation that the building isn’t up to code.
That’s very different to it actually complying with code however. And to your second example, if I was physically attending WWDC back when they did they keynotes, I’d much rather seeing illuminated exit signs than having them (illegally) turn them off in case of a fire.
Much of building codes is either outdated, no longer the most effective way to achieve something, etc. But these building codes are written in blood. It’s why we have them.