This is a good article. It covers the concerns about local code inspection overstepping intended authority. I think you could also apply this to the TREC Standards of Practice for inspectors requiring listing items in older homes which do not meet current code. Worth a read.