Validity conditions for local thermodynamic equilibrium