The thing to remember about building codes is that they're one solution to a problem. More often than not, one good solution. That isn't to say they're the only solution.
So for new construction or reno, absolutely follow code! Why not?
But for old construction that doesn't have obvious dangers and has served its purpose across decades? Why fix what ain't broke? It's entirely possibly it's a perfectly viable alternative solution.