Boris Johnson has risked clashing with Donald Trump during the president’s visit to London by insisting he will press ahead with a new tax on US tech giants.

The prime minister suggested he “deplores” Washington’s retaliatory action against France for imposing a similar levy.

Mr Trump has threatened to slap import tariffs of up to 100 per cent – worth almost £2bn annually – on French goods including cheese, champagne and handbags after the introduction of a digital services tax which the US says will penalise firms such as Google, Amazon and Facebook.

From April next year, the UK is due to levy its own 2 per cent digital services tax on the revenues of search engines, social media platforms and online marketplaces that derive value from British users.

Asked if he backed Trump’s threat, Mr Johnson said: “Obviously I deplore [it], I don’t think that trade wars are a good thing.

“I do think we need to look at the operations of the big digital companies and the huge revenues they make in the UK and the amount of tax they pay.

Donald Trump celebrity president: A decade in two halves Show all 29 1 /29 Donald Trump celebrity president: A decade in two halves Donald Trump celebrity president: A decade in two halves Trump styles his 'You're fired!' pose in his Trump Tower office in June 2012. At the time he was known as a reality TV star on The Apprentice Diane Bondareff/Invision/AP Donald Trump celebrity president: A decade in two halves He was also well known as the patron of the Miss Universe competition Getty Donald Trump celebrity president: A decade in two halves Early signs of Trump's ambition for the presidency can be found everywhere. Not least in his 2011 book 'Time to get tough: Making America #1 again' Getty Donald Trump celebrity president: A decade in two halves Trump with Piers Morgan in November 2010. Piers Morgan has long held that he and Trump are good friends Getty Donald Trump celebrity president: A decade in two halves Trump appeared on Fox & Friends, his favourite show, in August 2011 Getty Donald Trump celebrity president: A decade in two halves Trump considered running in the 2012 election, where he would have faced Barack Obama. He is speaking here at an event for a Republican women's group Getty Donald Trump celebrity president: A decade in two halves Trump was subject to a Comedy Central roast in 2011. He is pictured here being roasted by rapper Snoop Dogg Getty Donald Trump celebrity president: A decade in two halves Given that this Trump store is in the lobby of Trump Tower, it can be said that Trump sells merchandise of himself out of his own home Getty Donald Trump celebrity president: A decade in two halves Trump held meetings with prominent Republicans when considering his 2012 bid. He is pictured here with Alaska governor Sarah Palin Getty Donald Trump celebrity president: A decade in two halves He didn't end up running in 2012 afterall, instead endorsing Republican candidate Mitt Romney AFP/Getty Donald Trump celebrity president: A decade in two halves Trump's golf course in Aberdeen proved controversial in 2012 when he began lobbying the Scottish government against wind power in order that they wouldn't install turbines off the shore by his new course Getty Donald Trump celebrity president: A decade in two halves He even gave evidence to a Scottish parliamentary committee discouraging wind energy AFP/Getty Donald Trump celebrity president: A decade in two halves He still found time for a round of course AFP/Getty Donald Trump celebrity president: A decade in two halves On 16 June 2015, Trump announced that he would run for the presidency of the United States in the 2016 election as a Republican Getty Donald Trump celebrity president: A decade in two halves His campaign was divisive, courting controversy wherever he went. Ultimately he was declared the Republican candidate in June 2016 Getty Donald Trump celebrity president: A decade in two halves Trump took part in the TV debate against opponent Hillary Clinton on 9 October Getty Donald Trump celebrity president: A decade in two halves Trump and wife Melania vote in the presidential election on 8 November 2016 AFP/Getty Donald Trump celebrity president: A decade in two halves Hillary Clinton conceded defeat at 2:50am on 9 November and president-elect Trump swiftly delivered his victory speech to a crowd of supporters Getty Donald Trump celebrity president: A decade in two halves News coverage around the world focused on the huge political upset that Trump's victory spelled AFP/Getty Donald Trump celebrity president: A decade in two halves Trump met with president Obama to discusss transition planning on 10 November. AFP/Getty Donald Trump celebrity president: A decade in two halves Donald Trump and Nigel Farage pose in the golden elevator at Trump Tower on 12 November 2016. Farage was the first British politician to meet with Trump after the election LeaveEUOffical/Twitter Donald Trump celebrity president: A decade in two halves The inauguration of Donald Trump took place on 20 January 2017. Trump's press secretary Sean Spicer boasted that the crowd was the 'largest ever' to witness an inauguration, a claim that was proved not to be true Getty Donald Trump celebrity president: A decade in two halves In his first 100 days as leader, Trump signed 24 executve orders, the most of any president AFP/Getty Donald Trump celebrity president: A decade in two halves One of Trump's most memorable election pledges was to build a wall between the US and Mexico. He is standing here in front of a prototype for a section of the wall Getty Donald Trump celebrity president: A decade in two halves Trump's meetings with other world leaders have provided no short supply of photo opportunities Getty Donald Trump celebrity president: A decade in two halves Trump was welcomed to the UK by the Queen and a state banquet was held at Buckingham Palace in his honour Reuters Donald Trump celebrity president: A decade in two halves Not everyone welcomed the president. Mass protests were held in London throughout his visits in both 2018 and 2019 EPA Donald Trump celebrity president: A decade in two halves One of the most significant meetings Trump has held with another leader was with North Korea's Kim Jong Un. In June 2019, Trump became the first sitting president to set foot in North Korea Getty Donald Trump celebrity president: A decade in two halves 2020 will see president Trump fight for a second term in office, who knows what the next decade will bring? Getty

“We need to sort that out. They need to make a fairer contribution.”

The introduction of the new levy risks sparking a trans-Atlantic row at the very moment at which Mr Johnson is relying on a swift and ambitious trade deal with the US to offset the likely decline in commercial links with Britain’s EU trading partners after Brexit.

The prime minister has already limited the scope of a potential US trade deal by ruling out the involvement of NHS services.

The new tax was announced in the 2018 budget by then chancellor Philip Hammond as a way of levelling the playing field between global tech giants who exploit the international system to minimise their tax liabilities and bricks-and-mortar businesses that are tied to local tax rates.

Mr Hammond said then: “It is clearly not sustainable or fair that digital platform businesses can generate substantial value in the UK without paying tax here.”

Following talks with French president Emmanuel Macron in London on Tuesday, Mr Trump warned that taxes on French imports could be “substantial”.

Referring to the tech corporations to be caught by the new tax, Trump said: “They’re American companies. We want to tax American companies. That’s important. We want to tax them. Not somebody else to tax them.

“And as the president knows, we taxed wine and have other taxes scheduled. We would rather not do that. It will either work out or we’ll work out some mutually beneficial tax. And the tax will be substantial and I’m not sure it will come to that but it might.”

Speaking during an election campaign visit to Salisbury, Mr Johnson stressed that he wanted to remain on good terms with Mr Trump, who said on Tuesday that the PM “is very capable and I think he’ll do a good job”.

“It’s very important for the prime minister of the United Kingdom to have good relationships with the President of the United States,” said Mr Johnson.

“That’s just a geopolitical, geo-strategic fact, just as I think it’s very important for us to have the Elysee (French president’s office), the Kanzleramt (German chancellor’s office) and everywhere else.

“The UK’s role in Nato is to be the glue. We’re the second biggest player. We’re the country that historically has helped to bridge the Atlantic together and to bring Europe and America together, and that’s what we’re going to continue to do.

Mr Trump’s visit to London for the Nato leaders’ meeting has been dogged by questions about Labour allegations that access to NHS markets for US corporate giants is on the table in talks over transatlantic trade relations after Brexit.

Corbyn holds up a government dossier and alleges the NHS is up for grabs (Reuters)

Jeremy Corbyn last week released a leaked 500-page document which showed that the US was starting from a position of “total market access” as its baseline for trade talks. The papers recorded discussion of American demands for the extension of drug patents, which would allow pharmaceutical companies to charge the NHS more money.

Asked if the NHS should be on the table – as he suggested during a previous visit in June – the president said: “No, not at all, I have nothing to do with it. Never even thought about it, honestly.”

Mr Trump added: “I don’t even know where that rumour started. We have absolutely nothing to do with it and we wouldn’t want to if you handed it to us on a silver platter, we want nothing to do with it.”

Responding to the president’s comments, Mr Johnson said: “I want to stress that under no circumstances whatever will any part of the NHS be for sale.

“This is periodically, metronomically produced in a completely fraudulent way by the Labour Party in order to distract from the vacuity of their position on Brexit and their unwillingness to get Brexit done.”