Its for his engineers cert, they test the car at varying loads and speeds along a set course (on a dyno)and have to follow the program.
No they don't care if you fail or not, as the engineer will determine that in regards to age of vehicle. ANor do they defect you, its just a simple emission test for hydrocarbon levels, oxides of nitrogen level, carbon dioxide levels, and carbon monoxide.