I think people would generally say use the correct part no. and not interchangeable, the dimensions/tolerances might be subtlety different in ways you don't notice.
But if they're not different, then it will work.
Would have to measure piston diameter, gudgeon pin diameter, ring slots (get rings to match piston), distance between gudgeon pin and crown, length of skirt, diameter of skirt (I think they make the crown slightly smaller as it runs hotter/more expanded), etc etc all critical dimensions that could mean anything from running funny to grenading itself if not right.