Two French vagrants, Pierre and Jean, decide to take the pilgrimage route from Paris to Santiago de Compostela along the traditional Way of St. James. As they walk along a roadside in France, they encounter a man in a black cape who tells them to sleep with a prostitute and have children with her. Then the pilgrims reach an inn, where a police sergeant and a priest are discussing the nature of the eucharist and whether the body of Christ enters it by transubstantiation or consubstantiation. The discussion ends absurdly as the priest is taken away by staff from a nearby mental hospital. Later on, the pilgrims find shelter for the night on a farm while a secret Priscillian sect is meeting nearby. The secret service involves ritual repetition, a short statement of faith, followed by sexual encounters between the male and female congregation. Next, the pilgrims seek food from an upscale restaurant, wherein the manager is explaining to his staff the controversy of the divinity of Jesus Christ as debated during the First Council of Nicaea. Later on, the pilgrims pass by a boarding school and watch the children perform for their parents and teachers. As a class of young girls recites heresies and proclaim them "anathema", one of the pilgrims imagines the execution of a pope by a band of revolutionaries. Further on, after they curse a passing car, it crashes and the driver is killed. Investigating the wreckage, they encounter a strange man, maybe the Devil, who gives one of the pilgrims the dead man's shoes. Then the pilgrims come across a chapel, where a group of Jansenist nuns is nailing one nun to a wooden cross. Outside, a Jesuit and a Jansenist have a sword duel while arguing over doctrines of predestination and irresistible grace for sinners.Finally, the two pilgrims reach Spain, where they agree to take care of a donkey for two other men. These new men leave the pilgrims travel to a nearby abbey where they watch the official desecration of a priest's grave because of the discovery of heretical posthumous writings regarding the nature of the trinity. The two men proclaim loudly that the Godhead is not trinitarian and escape. In the forest, they switch clothes with some hunters swimming in a lake, and destroy by gunfire a rosary discovered in one of their pockets. Later that night, a vision of the Virgin Mary appears to them and returns the rosary. The two men and the original pilgrims meet again at an inn, where they tell a local priest about their recent miraculous vision. The priest recounts another miracle, in which the Virgin Mary takes the form and duties of an errant nun for several years until the nun returns to the convent as if she had never left. Later that night, the priest further explains how her virginity must have remained intact during both the spiritual conception and the physical birth of Jesus, like "sunshine penetrating a window".On the outskirts of Santiago de Compostela, the two pilgrims meet a prostitute who wants to become pregnant and gives the same names for the children as those predicted by the man in the cape at the beginning of the film. In the last episode of the film, two blind men encounter Jesus and his disciples. Their blindness is healed but they cannot understand what they are seeing or walk unaided.
Output: Question: Jean and Paul are on a pilgrimage to what Spanish city?, Answer: Santiago de Compostela