The French Revolution was trying to get rid of an idea of a monarch that had divine right and Napoleon made himself emperor and while he didn't not say he had divine right, he didn't prevent the church from saying so either.
Though Napoleon himself was an emperor, his reforms are what lead to the eventual French democracy. Napoleon made numerous important changes to France that allowed it to create a sustaining democracy. He could not just try to suddenly change from a monarchy to a democracy as the institutions were not in place. Edmund Burke and history tell us that you need supporting institutions in a democracy in order for it to be successful. Napoleon created Lycees, public schools which educated France's general population. He also created the Napoleonic code, a legal code, parts of which are still in effect in the French legal system today. In addition to this, he established the Bank of France which gave the nation economic stability. Had he not made these changes, France would not have become a successful democracy generations later following the end of Louis Napoleon's reign.