A numerical two-dimensional (2D) interactive dynamical-radiative-photochemical model including aerosol physics is used to examine the expected long-term changes in stratospheric temperature and the Earth's ozone layer due to anthropogenic pollution of the atmosphere by the greenhouse gases CO2, CH4 and N2O. The model time-dependent runs were made for the period from 1975 to 2050. The results of the calculations show that the basic mechanism by which greenhouse gases influence the ozone layer is stratospheric cooling accompanied by a weakness in the efficiency of the catalytic cycles of ozone destruction due to temperature dependencies of the photochemical gas-phase reactions. Modification of polar stratospheric clouds (PSCs) caused by anthropogenic growth of the greenhouse gases is important only for the polar ozone. An essential influence of the greenhouse gases on the ozone by a modification of the stratospheric sulphate aerosol is revealed. The aerosol changes caused by the greenhouse gases modify the distribution of the ozone-active gaseous chlorine, bromine and nitrogen components by means of heterogeneous reactions on the aerosol surface, resulting in a significant decrease in springtime polar ozone depletion of the Antarctic ozone hole.