code as consumer protection

Code enforcement is intended as a consumer protection measure and if substandard work or other practices covered in the code are not up to standard the consumer has legal recourse.