The shape/size of the chamber end of the barrel is a little different between the Polymer pistols in 9mm vs .40 - the 9mm barrel is a very loose fit in a .40 slide. For my P-09, I switch a complete upper (slide/barrel/recoil spring/guide rod) when swapping between the original .40 of the P-09 and 9mm.
(this is useful for demos, since not all location will prepare little bags of .40, but they always will be prepared for 9mm)