In the classical gas any two particles interact with the repulsive potential iff they both are situated in the fixed region A. Outside A they move freely. We prove that this dynamical system with respect to the Gibbs measure is metrically isomorphic to the classical ideal gas.