If the inspector tell u to replace it. Do it. U are asking for trouble for not having the violation removed.