It would be helpful to know if the terms "indistinguishable" and "identical" have technical definitions in thermodynamics. For example, from the point of view of common speech it is paradoxical to refer to "two indistinguishable cups" or "two identical cups" if this terminology is taken to imply a set with cardinality 2. A set of two "indistinguishable things" or "two identical things" is not a set of two things. It is a set of 1 thing. The "two" things are the same thing.
Likewise, in mathematics , if I say "Let S be the set {13,x} whose members are two identical real numbers", this would usually be interpreted to mean that I have defined a set with cardinality 1.
So it seems to me that the adjectives "indistinguishable" or "identical" as used in physics must have some qualification like "indistinguishable with respect to ..." or "identical with respect to..." and there should be list of properties the adjectives apply to.
Of course, I'm thinking in terms of classical physics. Perhaps someone can explain whether the concept of "N particles"in the setting of QM differs from the ordinary concept of cardinality in mathematics. Perhaps there is some concept like "You can know a system is in a state with the property "There are 13 particles", but , you can't perform any process that will, in a manner of speaking, lay them all out on a table in a distinguishable way so you can count them.