 Emeric Pressburger (qv) originally wrote the script in 1937 when  producer Alexander Korda (qv) was casting around for a project for  his wife, Merle Oberon (qv). The intention was that a professional  dancer would fill in for Oberon in the dancing scenes. Nothing ever  came of it 