Something that might be worth chasing down is what the state forestry service was called in Bavaria during the Imperial era. I could easily see rifles getting sent there once they were no longer considered fit for military use, but still adequate to deal with game or light duty police work (poachers, etc).
Some mild digging shows that during the years right before Unification Bavaria was organizing its forestry officers along Kries lines with an over-arching Bayerischer Forstverwaltung. I'm not 100% on any of the office names and it's a niche enough subject that online sources are paltry to say the least.
Kind of a shot in the dark, but it's probably the first avenue I'd really start digging down.