Question: Who wrote the 1972 Luis Buñuel film which Fernando Rey acted in?

Context paragraphs:
Mistress of the Devil: Mistress of the Devil (also known as Léonor) is a 1975 French-Italian-Spanish horror film written and directed by Juan Luis Buñuel (the son of Luis Buñuel) and starring Michel Piccoli, Liv Ullmann and Ornella Muti.

The Discreet Charm of the Bourgeoisie: The Discreet Charm of the Bourgeoisie (French: Le Charme discret de la bourgeoisie ) is a 1972 surrealist film directed by Luis Buñuel and written by Jean-Claude Carrière in collaboration with the director.  The film was made in France and is mainly in French, with some dialogue in Spanish.

That Obscure Object of Desire: That Obscure Object of Desire (French: Cet obscur objet du désir ; Spanish: Ese oscuro objeto del deseo ), a French and Spanish co-production released in 1977, was the final film directed by Luis Buñuel.  Set in Spain and France against the backdrop of a terrorist insurgency, the film conveys the story told through a series of flashbacks by an aging Frenchman, Mathieu, played by Fernando Rey, who recounts falling in love with a beautiful young Spanish woman, Conchita, played interchangeably by two actresses, Carole Bouquet and Angela Molina, that repeatedly frustrates his romantic and sexual desires.

Vicente Pascual Oliva: Father Vicente Pascual Oliva, O.F.M. (born 18th century, died January 2, 1848) was Catholic a priest of the Franciscan Order, and a Spanish missionary in California during the 19th century.  He was born in Martin del Rio in the ancient kingdom of Aragon, and joined the Order in the convent of Nuestra Señora de Jesus, Zaragosa, on February 1, 1799.  He left for the Apostolic College of San Fernando de Mexico on March 29, 1810; form there he departed for Alta California in early July, 1811 but due to various setbacks and illness did not reach Monterrey until August 1813.  Fray Oliva was allowed to officiate over his first baptism at Mission San Carlos Borromeo de Carmelo on October 28 of that year.  Soon thereafter he was transferred to Mission San Fernando Rey de España, where he also assisted the fathers of Mission San Gabriel Arcángel until the fall of 1815.  Beginning his ministry at Mission San Francisco de Asís on November 18, 1815, he continued there until the fall of 1818, when he was transferred to Mission San Miguel Arcángel.  He served there for approximately two years before being called to Mission San Diego de Alcalá, where he resided until early 1832 until being sent to Mission San Luis Rey de Francia to manage the temporal affairs of that outpost.  Father Oliva made his first entry in the Baptismal Register of Mission San Juan Capistrano on September 6, 1846.

Tristana: Tristana is a 1970 Spanish film directed by Luis Buñuel.  Based on the eponymous novel by Benito Pérez Galdós, it stars Catherine Deneuve and Fernando Rey and was shot in Toledo, Spain.  The voices of French actress Catherine Deneuve and Italian actor Franco Nero were dubbed to Spanish.  "Tristana" is a Spanish-Franco-Italian co-production.

Ariadna Welter: Ariadne Welter (June 29, 1930 – December 13, 1998) was a Mexican movie actress of the Golden Age of Mexican cinema.  She appeared in the Luis Buñuel film "The Criminal Life of Archibaldo de la Cruz" (1955).  In 1956 she starred in the film "El Vampiro", a classic of the Mexican horror films.

Mercedes Pinto: Mercedes Pinto Armas de la Rosa y Clós (La Laguna, Tenerife, 12 October 1883 – Ciudad de México, 21 October 1976) was a Spanish writer.  Her 1926 novel "He" is the basis of the Luis Buñuel film "Él" ("This Strange Passion", 1952).

Au rendez-vous de la mort joyeuse: Au rendez-vous de la mort joyeuse is a 1973 horror film directed by Juan Luis Buñuel (the son of Luis Buñuel).  It is also known as At the Meeting with Joyous Death (International English title) and Expulsion of the Devil (USA) and Lune lune coquelune.

Fernando Rey: Fernando Casado Arambillet (20 September 1917 – 9 March 1994), best known as Fernando Rey, was a Spanish film, theatre, and television actor, who worked in both Europe and the United States.  A suave, international actor best known for his roles in the films of surrealist director Luis Buñuel ("Tristana", 1970; "Discreet Charm of the Bourgeoisie", 1972; "That Obscure Object of Desire", 1977) and as a drug lord in "The French Connection" (1971), he appeared in more than 150 films over half a century.

Liceo Español Luis Buñuel: Liceo Español Luis Buñuel (LELB, Spanish Lycee “Luis Buñuel", French: Lycée Espagnol Luis Buñuel ) is a Spanish international school in Neuilly sur Seine, France, in the Paris metropolitan area.  Operated by the Spanish Ministry of Education, the school has "secundaria obligatoria" (required lower secondary school) courses and "bachillerato" (Spanish baccalaureate, non-compulsory) education.

Supporting paragraphs: Fernando Rey The Discreet Charm of the Bourgeoisie
Answer: Jean-Claude Carrière