There are rules train manufacturers must abide by called Environmental Protection Emission Standards for Locomotives and Locomotive Engines.
 Environmental Protection  Emission Standards for Locomotives and Locomotive Engines