We can ban that on paper and pretend that the problem went away. We cant actually nuke large parts of the GDP.
edit: Saw your nuclear energy edit too late. Thats a great example for protectionism / having a frame for subsidies. We still require energy, that section of the GDP didnt just evaporate.
Car legislation is likewise just a driver for higher consumption.
You would need something equally profitable to do for the sub fleet supply chain to ban it.