yes BUT only if the gasket is only just starting to go.

its good enough for most petrols but the extra pressure of a diesel with a gone gasket reduces its effectiveness. it'll hold for a weeper or a hot leaker but not one thats failed completely.