Dave, do you still run the stock mufflers, smog pump (if applicable), heat risers, air cleaner, pvc, or same carb as the original 1966? That could be why it didn't pass. While I already know the answer, maybe with the original stuff on the motor it met the requirements.
Also curious if the car is registered as a Cobra or "Special Construction" and as what year. tom