The Importance of Being Earnest (2002)

In 1890s London, two friends use the same pseudonym ("Ernest") for their on-the-sly activities. Hilarity ensues.