If it is a violation, it is your responsibility to fix it. I'm not sure if you need a permit to do it.