It's hard to argue against this law, but don't think it will be painless. Say you go to Sears and by a new gas dryer. The Sears truck shows up at your house a few days later but they can't remove your old dryer. You have to call a licensed gas fitter to disconnect it. After the gas fitter leaves, Sears returns, takes the old dryer away, and places the new dryer. But they can't hook up the new dryer, so call the gas fitter back.
I guess if you're reasonably handy you could do these things yourself, but that kind of defeats the purpose of the law. Maybe you should get an electric dryer