In 2002, Dench was cast opposite Rupert Everett, Colin Firth, and Reese Witherspoon in Oliver Parker's "The Importance of Being Earnest", a comedy about mistaken identity set in English high society during the Victorian Era. Based on Oscar Wilde's classic comedy of manners of the same name, she portrayed Lady Bracknell, a role she had repeatedly played before, including a stint at the Royal National Theatre in 1982. The film was released to lukewarm reactions by critics – who called it "breezy entertainment, helped by an impressive cast", but felt that it also suffered "from some peculiar directorial choices" – and earned just US$17.3 million during its limited release. Dench's other film of 2002 was "Die Another Day", the twentieth instalment in the James Bond series. The Lee Tamahori–directed spy film marked her fourth appearance as MI6 head M and the franchise's last performance by Pierce Brosnan as Bond. "Die Another Day" received mixed reviews