In a basilica built in the heartland of Africa's Voodoo religion, Pope Benedict XVI unveiled a treatise outlining the role of the Catholic Church on the continent, explaining how the faith can help address Africa's chronic wars and interact with indigenous practices.
The immediate backdrop for the release of the 87-page guide for the faithful in Africa was the soaring basilica in this coastal town, a symbol of the church's roots on the continent.
But just 100 yards from the nave where Benedict was introducing the papal text, Voodoo priests in flowing robes sat inside their own temple, carefully listening to his words as they wafted outside across the basilica's sound system.
Among the messages contained in the pope's road map for Africa is an attempt to show how Catholicism has evolved from the rigid religion missionaries first brought to Ouidah, considered the cradle of Voodoo, a state religion in Benin alongside Christianity and Islam.
Catholics need to cultivate respect both for Islam and for traditional practices, the pope said in the document.
He also encourages the study of indigenous beliefs to determine what aspects are helpful to the human condition.
But he told bishops they must nevertheless discern which traditional practices clash with church doctrine so they can "separate the good seed from the weeds".
"The church is open to cooperation with all the components of society, particularly with the representatives of the churches and ecclesial communities not yet in full communion with the Catholic church," the pope said as African priests and nuns held up camera phones in the pews of the packed basilica to record his message.
"As well as with the representatives of the non-Christian religions, above all those of traditional religions."
As he signed the papal treatise, several dozen Voodoo practitioners sat in plastic chairs in the Temple of the Pythons located at the opposite end of the basilica's square.
The high priest, who sat with his foot on a bottle of gin, a traditional Voodoo spirit offering, said they listened carefully as the pope's message was projected outside through massive speakers mounted on the basilica.
"This is a positive message which will bring peace to Africa," said Houkpon II Houawamenod. "I am a baptised Catholic, but I can't turn my back on where I come from. When I was a child if I attended a Voodoo ceremony, I used to get flogged at school the next day," he said.
Houawamenod, who like many in Benin practice a combination of Voodoo and Catholicism, said: "We are simply taking a different road to get to the same place."
The 84-year-old pope's three-day trip is his second to Africa, the most rapidly growing region for the Catholic Church.
While congregations are greying in Europe and orders are struggling to recruit future priests, there are not enough spots in seminaries in Africa to accommodate all those wishing to pursue a religious life.
"Africae munus," Latin for Africa's Commitment, is the pope's attempt to tailor the faith to the needs of a continent shattered by war and crippled by corruption.
The pope is proposing a reconciliation which draws on the church's doctrine of forgiveness to stem the cycle of retribution at the core of many of the region's most recent conflicts.
Among the ideas he suggested is surveying local ceremonies used to resolve conflicts in Africa, though he made clear that these cannot take the place of the church's sacrament of penance.
Earlier at the country's largest seminary located a few miles from the basilica, the pope addressed the aspiring priests, and explained how they can become an instrument for changing Africa.
"Dear priests, the responsibility for promoting peace, justice and reconciliation falls in a special way to you," he said. "As crystal does not retain the light but rather reflects it and passes it on, in the same manner the priest must make transparent what he celebrates."
Reverend Gabriel Dobade, a priest from Chad which has seen repeated coups and wars said the Biblical principle of turning the other cheek is a perfect instrument for resolving Africa's cycle of violence.
"Africa needs to stop fighting. We need to assume responsibility for peace," he said. "The pope's message is a strong one. And it should be heard throughout Africa."