In January 829, Gregory was involved in a dispute with Farfa Abbey over the ownership of local monastic land by the Roman church. In a court run by a bishop and a representative of the emperor, and in the presence of Gregory, Abbot Ingoald of Farfa claimed that the Frankish emperors had granted them the lands, and that Popes Adrian I and Leo III had taken possession of the land illegally. The imperial representative made a ruling in favour of the abbey, and that the lands were to be restored to the monastery. Although Gregory refused to accept the ruling, there is no evidence that he managed to get the decision overturned.