Czechs go to the polls on Friday and Saturday facing a deteriorating security situation in Europe and fears of Russian interference.

Populist billionaire Andrej Babis, 71, is tipped to head the next government, replacing the strongly pro-Western, pro-Ukraine coalition.

But he'll likely need allies on the extremes of Czech politics – and their price will not be cheap.

We'll never drag the Czech Republic to the East. I can absolutely rule that out, Babis told a crowd of mostly elderly supporters, gathered around a stage in the former steel town of Kladno, just outside Prague.

We weren't the ones who sat down with Putin - we were the ones who expelled Russian diplomats! he went on, referring to measures taken in his first term following revelations that Russia's GRU military intelligence had blown up a Czech ammunition dump in 2014.

Andrej
Andrej Babis inspired by the US Maga movement.

A row of grey heads nodded as the former prime minister warmed to his theme.

And never - I repeat, never - will we consider leaving the European Union. Look at what happened to Great Britain! And they're a nuclear power. They've got gas, oil, a fishing industry. They're friends with Trump, he added.

Andrej Babis himself is also friends with US President Donald Trump.

Many supporters were wearing Babis's red baseball cap emblazoned with the words Strong Czechia – heavily inspired by Trump's Maga movement.

The problem for Babis – and it could soon become a problem for NATO and the EU – is that his ANO party is unlikely to win an overall majority.

Instead, he will likely need to form alliances with smaller parties on the fringes of Czech politics.

Opinion polls and public statements suggest his choice of potential allies will be limited to the ultra-nationalist SPD, the anti-Green-Deal Motorists, and Enough! - who are an ad-hoc coalition of rebranded Communists, the remnants of the once-mighty Social Democrats, and a blogger in a black hat who calls himself Pitchfork (the Czech word for redneck).

On Wednesday night, during his only head-to-head debate with Prime Minister Petr Fiala, Andrej Babis ruled out forming a coalition with the Communists. I'll sign a piece of paper to that effect right here in the studio, he said.

Several of his potential allies want referendums on leaving the EU and NATO.

ANO says that is not going to happen.

We criticize the European Union, but we don't want to destroy it, we want to reform it, deputy leader Karel Havlicek told the BBC.

And NATO, well, we can criticize many things about it, but joining NATO was the most important milestone in the history of the Czech Republic, and our position is to strengthen it, he went on.

As we spoke a large inflatable dinosaur loomed over our heads, part of a bouncy castle erected for the ANO rally. For older supporters there were tents offering cups of coffee, free blood pressure checks and the red baseball caps.

Across town, 19-year-old political science student Ondrej Kapralek, who is an activist for the liberal Pirate Party, is preparing to vote in his first election.

The Pirates were part of the centre-right government until they left the coalition over a bungled digitalization scheme.

But their political star is rising again, and could attract voters disillusioned with both the government and the populist or extremist opposition.

I certainly feel we should invest in our security, the student said.

It's not just about housing, it's not just about the economy, it's not just about the EU - all of these things have to come together for my country to show my generation that they can have a great future here, he told the BBC.

Young progressives worry about their country following Slovakia and Hungary towards far-right tendencies.

Russia is waging a massive campaign of disinformation against the Czech Republic, said security analyst Roman Maca, explaining that Russian intelligence services are believed to be behind cyber-attacks and cases of arson.

He believes the presence of Russia-friendly parties in an ANO-led government should set alarm bells ringing across Europe.

These parties are pro-Russian, so they will want what is good for the Kremlin, he warned.

They will ask ANO to stop supporting Ukraine, to end the Czech ammunition initiative, to oppose sanctions against Russia.

For the past few years, the Czech government's loyalty – to the EU, to NATO, to the defense of Ukraine – has been unwavering. If opinion polls are accurate, that approach will soon – at the very least – be called into question.