The Vatican said Thursday that it was taking legal action to prevent the publication of a photo montage showing the pope kissing a leading imam as part of a Benetton advertising campaign. The statement from the Vatican secretary of state came despite an announcement by the Italian clothing company that it was pulling the montage in the wake of severe criticism from the Holy See.