The present invention relates to the use of a solidifiable composition for producing a temporary occlusion of the intestine of a mammal, wherein the composition is flowable and solidifiable to form a solid plug at a desired location in the intestine. The structure of said plug can be modified for the subsequent, at least partial removal of the occlusion.