When Madame Bovary was written in the 1850s, it fell under the accusing eye of the French government for its perceived immorality. Flaubert recognized that the trial would only stoke interest, and that it would set the tone for his career.
Research:

Elizabeth Bisland, Beyond the Trip Around the World
42:54

SYMHC Classics: Marie Laurencin
32:46

Behind the Scenes Minis: Censorship Cats
26:59