That one would be a local code I bet. For example someone on here mentioned they aren't allowed to have black pipe with joints in teh walls where they live. That is ok here. I have 1" black pipe feeding natural gas to my boiler and appliances and it runs in the walls.