What are the implications of political leaders making public comparisons to historical figures like Goebbels during election campaigns?

This question seeks to understand the impact of using controversial historical analogies in political discourse, especially in the context of election-related debates and public perception.