994 for this reason and successfully got the bishops present at the synod to make a statement excommunicating anyone who attacked Cluniac property. In 997 he went to Rome to make secure the status of Cluny. In 998 he obtained from Pope Gregory V. Cluny complete freedom by the diocesan Bishop and 1024 the extension of this privilege on all dependent Cluny abbeys and priories. In 1025 Gauzlin, bishop of Mâcon, claimed that the archbishop of Vienne needed his approval to give ordination to monks in Cluny. In answer to this Odilo produced the papal documents granting Cluny freedom from local diocesan control. A council at Ansa in southern Gaul nevertheless condemned Odilo's position because it claimed that the Council of Chalcedon (in 451) had decreed that the ordination of monks had to occur with diocesan consent. In answer to this, the Pope then wrote letters to various parties involved with the dispute and condemned Gauzlin's position. The Pope further decreed that any bishop who tried to enter a Cluniac monastery to even celebrate a mass would suffer automatic excommunication, unless he had been invited by the abbot. The dispute went on for years. In Germany the Cluny policy had no permanent success, as the monks there were more inclined to individualism. Odilo visited Henry II on several occasions and because of his closeness to him, he was able to intercede on several occasions for people who had disputes with him. When Henry II was crowned King of Italy in 1004, Odilo attended the ceremony. The following day there was a revolt against Henry in Pavia which was quickly crushed and the defeated party went to find Odilo so that he could ask Henry on their behalf for mercy. Odilo agreed and was able to persuade Henry, who respected his holiness so greatly, to hold back his hand and give mercy to the rebels. When Henry was crowned as Holy Roman Emperor in Rome in 1014, Odilo also was present. He arrived in Rome before Christmas and spent several months together with Henry up to his coronation in February 1014. The Pope presented Henry with the gift of a golden apple ('orb') with a cross on it, representing his empire. Henry later sent this gift to Cluny. When Henry died in 1024, Cluny's houses said many prayers and masses for him. During the famine of 1006, Odilo sold the gold