There was a court case about building codes, where the court ruled that you can't charge for the standard because it was the law. Let me see if I can find it...
Edit: I can't find it. If someone more versed on finding court cases can find it that would be awesome. IIRC, it involved a company suing a city(?) for publishing a copywrited building code they had written but the court ruled that you can't charge for the law.