That socket was broken on the Litronic that I had, so I looked at a standard Halogen light. It is part of the adjuster assembly and not easy to remove and replace. Since my headlight was already damaged, I expedited removal by breaking the stubborn part. I think that with some intuition and patience it can be removed intact.
The part with the ball is longer on the Litronic that on the halogen that I disassembled, but looks like the critical dimensions are the same. Both are included in the package.