When there is enough matter in a region to allow molecular collisions to occur very much more often than absorption or emission of photons, for radiation one speaks of local thermodynamic equilibrium (LTE). In this case, Kirchhoff's law of equality of radiative absorptivity and emissivity holds.
Two bodies in radiative exchange equilibrium, each in its own local thermodynamic equilibrium, have the same temperature and their radiative exchange complies with the Stokes-Helmholtz reciprocity principle.