The other possibility is it could have been an insurance inspection if you've applied for new or upgraded coverage recently. If so your only option would be to change companies as insurers can pretty much put any conditions they want to in a contract.
More info is needed to really provide good comments. Oh yes, are you living in an unregulated township? If so the regulations your are dealing with are the national building codes which tend to be more general and more open to interpretation. Regardless there is, if you figure the regs shouldn't apply to you, an appeal procedure both at the provincial and federal level.
Max K, Ontario CanadaVacuum1313; It can be done!