I'm sure you have references to the German Police Forces permanent use of the shoulder stock in the years following WWI?
I have absolutely no idea whether there is a record of prosecution on attaching a shoulder stock to a "Luger" (all Lugers were not P.08's), but that has absolutely no bearing on whether it is law or not.