it is only really temporary. The door check frame will bend out of shape again. And, so will a new one eventually.
Scroll down this thread on benzworld.org to my post titled "Fix for clicking/snapping door checks."
http://www.benzworld.org/forums/w140-s-class/1203330-knowlege-base.html
Alternatively, just put in a new door check. They're not that expensive.
Brett