how can we be sure of that?
Because we are. Photons are integer spin particles called 'bosons', and all bosons share this particular property of being indistinguishable. If this were not the case, lasers would not exist as we know them. Look up the heading of photon in Wikipedia for further information.