Haven't done any Lugers, but I have done a few S&Ws. The Luger barrel has a shoulder that appears to be what defines the timing when it contacts the extension. I would be surprised if taps and dies were available in that pitch. Standard taps and dies are ground to differing specs and are graded as to % of thread engagement. I've run taps and dies through new nuts and bolts and am often surprised at how much metal is removed sometimes. A situation like that would likely change the timing. If I were doing this swap, I think I would just clean both threads with a fine wire brush and use something to keep the threads from galling.

Joe