A 300k mile engine with a blown head gasket? If it passes emissions, they might as well scrap the program *LOL*.
A car with a blown head gasket is not going to be running right, because it's going to have lack of compression. The lack of compression is going to make the fuel not burn as well, raising tail pipe emissions, and it will definately fail.
In California, if you fail too bad, the car is deemed a "gross polluter" and only a state referee can clear the car to be driven on public streets (or be legally registered) again. It usually takes several weeks to get an appointment with the referee, you have to go to the DMV and get a "moving permit" to get it there (or trailer it) and the closest referee to my house is about 45 miles away. Hope you don't have to do THAT nonsense in your state!
Ask me how I know this!

issed: