I am in the process of rebuilding the 240D engine and figured I'd post a couple pics showing the sludge build up versus gear wear. The car is showing 267k miles and I don't have any doubts that it is original mileage. The first shows some sludge build up on the rocker supports and then the gear wear on the oil pump drive gear. Unfortunately, you have to replace this as an a$$embly and believe it or not the most economical place I was able to find them was the dealer

where they had 17 in stock in Germany.
I would not feel comfortable rebuilding this engine and not replacing this gearset while I am in there. The last pic is some of the assembly work

. It is moving along pretty good.