The libretto was originally planned as a three-act "opéra comique" for the Opéra-Comique theatre. Meyerbeer stopped work on the opera in 1827 when the theatre underwent financial difficulties. In August 1829, the composer and librettists agreed to refashion the work in a five-act form to meet the requirements of the Paris Opéra. This entailed some significant rewriting of the storyline, reducing the essentially comic role of Raimbaut (who vanishes after Act 3 in the final version, but whose antics – including the spending of Bertram's money – continued throughout in the earlier libretto). It also meant that the traditional 'pairing' of lovers in opéra comique (Robert/Isabelle paralleled throughout by the 'lower-class' Raimbaut/Alice) was swept aside in favour of concentration on the more sensational story-line of Robert's diabolic ancestry.