A new biography of French first lady Brigitte Macron says her husband penned a racy novel inspired by their early romance, when he was still a teenager and she his married drama teacher.

President Emmanuel Macron, who turned 40 last month, fell for Brigitte during rehearsals for a school play at the Providence high school in Amiens, and defied his parents’ disapproval to pursue the relationship with a woman 24 years his

senior.

The book, “Brigitte Macron, The Liberated Woman”, to be published next week, quotes a family neighbor from Macron’s home town who says she typed up the 300-page manuscript.

“It was a daring novel, a little bit smutty. Of course, the names were not the same but I think he needed to express what he was feeling at the time,” the unnamed neighbor is quoted as saying in excerpts published by Closer magazine.

A spokeswoman for Macron’s office declined to comment.

In the excerpts, the typist said she had not kept a copy of the novel – perhaps sparing the blushes of a leader who has promised to clean up French politics and says he wants to restore the dignity of the presidency.

But Macron would not be the only current French politician to try his hand at adult literature.

In 2011, the prime minister, Edouard Philippe, co-authored ‘Dans l’ombre’ (In the Shadows), a political thriller laced with steamy encounters. The finance minister, Bruno Le Maire, has written a novel entitled ‘Le Ministre’ (The Minister), which includes a steamy scene between the minister and his wife in Venice.

Macron’s literary ambitions as a young man are well known and he wrote at least two unpublished works before authoring a book entitled “Revolution” during his election campaign.

He told the weekly magazine Le Point last year that he had not sought a publisher for the earlier works “as I was not happy with them”.

In a separate article for the same magazine, asked by French author Philippe Besson if he regretted not becoming a writer himself, Macron replied: “My life isn’t finished yet.”