Magnolia Pictures has acquired Zentropa Entertainment’s period drama “A Royal Affair,” starring Mads Mikkelsen and Alicia Vikander.

The film, about an affair between the queen of Denmark and a German doctor, was directed by Nikolaj Arcel, screenwriter of “The Girl With the Dragon Tattoo.”

“Affair” was also picked up by Madman for Australia and New Zealand, Golem (Spain), Metrodome (U.K.), MFA (Germany), Ascot Elite (Switzerland), Aero Films (Czech Republic) and Best Film (Poland). TrustNordisk, which is handling foreign sales, also revealed a host of deals for other projects on its Cannes slate.

Petter Naess’ “Comrade,” which stars Rupert Grint, has been acquired by Metrodome (U.K.), Kino Swiat (Poland) and Vendetta (Australia). Morten Tyldum’s gritty thriller “Headhunters,” based on the Norwegian novel by Jo Nesbo, has added several distributors following its market preem in Cannes.

Buyers include Alta Films (Spain), Big Movie (Russia), Insomnia (former Yugoslavia), Mares Filmes (Brazil), Estin Film (Estonia), Independenta Film (Romania) and Aero Films (Czech Republic).The film had previously sold to Magnolia (North America), NFP (Germany), Momentum (U.K.), Lumiere (Benelux) and Rialto Distribution (Australia), among others.