If it's the same type of pin as on the M104, I had good luck using a bolt with matching threads, and wrenching it down against a stackup of washers. This method pulled it out. I'll bet this method would work better than using a slide hammer. Since you've found a bolt that works, stack some washers under the head and wrench it down.
95 E320 Cabriolet, 131K