What does classic electromagnetism have to do with thermodynamics laws ?

Bohr claimed : let's assume that the moving charges do not emit energy in some conditions
He did not say : Lets assume that the termodynamica laws are not valid at atomic scale

Once you accept , by hyphotesis, that the electron does not emit energy then you accept also that certain orbits are stable even though the thermodynamics laws remain valid