Vidocq is seen reading the memoirs of Casanova at the time of Napoleon's Egyptian campaign (1798-1801). The memoirs were not published until 1822.
During Loretta's first musical number (around 16 mins) it is very obvious the orchestra is not even playing the tune that is heard; the string player on stage bows even when no notes can be heard.