Are you sure the buffer is a factory part?
Yes, it's an original part. Several of HK's early pistols used a recoil buffer. Here's a link to the part that is available here in the U.S.
Go here for a printable manual of the P9s. It shows the buffer and instructs how to disassemble the associated parts.