The role of fluctuations in the mechanism of deconfinement