This column originally appeared at 9 ET on Real Money, our premium site for active traders. Click here to get great columns like this from Jim Cramer and other writers even earlier in the trading day.

With the first round of the French presidential election set to take place on Sunday, the result will depend on how the French will react to the latest terrorist attack in Paris, in which one policeman was killed and two others were seriously injured. But another attack, which took place earlier this month in Germany, ought to play at least an equal role.

Terrorist attacks have become a fact of life for many European countries. Extremist parties have seized the opportunity to incorporate these tragedies in their anti-immigration and often downright xenophobic rhetoric.

Take Marine Le Pen, the leader of the far-right National Front party, who is set to enter the runoff of the French presidential election. Three days ago, seeing that she was losing ground in opinion polls to centrist rival Emmanuel Macron, she pledged to end all immigration to France.

However, using terrorist attacks as reasons to implement extreme policies can backfire. The credibility of politicians who do this could suffer serious blows when it turns out that the attacks they reference were not terrorist in nature.

If some previously undecided French voters, scared by the recent Paris attack, suddenly believe it is a good idea to vote for Le Pen, they would do well to keep themselves up to date with the latest twists in the story of another attack, the one on the bus of German soccer team Borussia Dortmund on April 11.

Le Pen herself used that attack as an example of how the "Islamist threat" has risen in Europe, in a speech on April 14. Just like Nigel Farage, the leader of extremist UKIP party who campaigned for Brexit in the U.K., Le Pen is skilled at inducing fear in voters' minds by subtly, or sometimes not so subtly, connecting negative events with immigrants.

If you liked this article you might like

Fear the Federal Reserve

VIDEO: The Week Ahead in Europe

Central Banks Will Find It Hard to Take the Punch Bowl Away

Butter Up Your Portfolio as Butter Prices Hit Record Highs

Explosive Report Warns of the Next Black Swans for U.K. Banks