Nonequivalence of an assembly of bosons and a classical spin model