The building code is a complex issue, as you've alluded to, but in reality, the provinces adopt the Canadian national building code. They do modify it in a couple of instances, but they adopt the standards almost carte blanche across the way.
I'm getting back to your example. You forgot to mention the fact that the door you went through after you got up the four stairs—