In a half century of reading gun books I'm not sure where that came from could have been from The Winchester Book or the Marlin bible from Col Brophy or Dunlaps "Gunsmithing" book or any of the 4 "Kinks" books from Brownells or even Guy Letards bedside machinist readers or even from 15 yrs of "Artillerist magazine"....but if your saying an infantryman in a mud & water filled trench in WW1 or a Marine in some Borneo jungle or beach head is gonna whip out his nail file & create a .130x49 screw to duplicate one he needs for that german or jap pistol he found in the mud....well, I guess you know more than I do.
But just so i do know, where did you read that military procurement did not ever specify no common exchangeable parts to be used.
Read all those too, except Artillerist. Didn't come away with the same impressions. And since you dragged Lautard and his books into this, go read about the screw cutting metal lathe that was built and used in a Japanese POW camp.
In your example of a dude in a trench, whipping out a file and making what was supposedly needed, no, that is not at all how it would work. Same dude that could not make a standard size thread, if his OWN weapon went down, would also not be making an oddball one for the other side's equipment! If there was one laying around to be picked up and used, there are better than average odds that the last guy to use it died before he had a chance to take that 'one' magical screw out of it! Or there would be others laying around to pick through for parts. In the real world, that stuff was scrounged up after the battles, and routed back to various depots, whether it was to be used as scrap metal, or to be refurbed to re-use, as the Russians and their near neighbors were quite fond of doing when they could get the large numbers to make it worthwhile. That wasn't done out in a muddy hole.
Where did you ever see an actual Military procurement that DID specify that no exchangeable parts were to be used? Seen a fair few that specified how many spares of what parts were to be provided, but never one that said "No parts to be able to be interchanged with any off those darned commie's rifles!" or anything similar.
So, still calling that theory horse poo. And I'll still stick with that the Manufacturers had no reasons to make their parts interchangeable with any others, so they did what they pleased, designing the screws to fit where they were needed, instead of designing the guns to use off the shelf screws, and it ensured that any part that were bought, were, generally, bought from or through them.
They made their own parts and tooling in house, they were not making hardware store nuts and bolt, and they had no need to please anyone but themselves (and their shareholders!).