Former prime minister Sir Tony Blair says Britain should rejoin the European Union only if the bloc reforms and allows more innovation on technology.

Speaking to The Sunday Times, Blair said: "I was painted as saying Britain should just go back and rejoin - I'm not saying that - it's heavily conditioned." He also said, "I do think Brexit was a real mistake," but added that the debate is different now than it was in 2016.

Blair argued that rejoining would be a problem if the EU moves in the wrong direction on technology innovation, which he said Europe "probably" is doing. He said Britain should aim to reform the EU and must be "prepared to walk away from that negotiation." He also said the UK needs to strengthen its own economy and tech sector.

On artificial intelligence, Blair said "AI is like fire - it can cook your food and burn your house down." He said the risks are "very considerable" and that he fears the UK lacks the "dynamism" and "energy" of other countries in the fast-changing technology sector.

The remarks come as Prime Minister Andy Burnham agreed what he called a "win-win" deal with the EU in Brussels on Friday. The agreement covers British food exports, emissions trading and a youth experience scheme. European Commission President Ursula von der Leyen also announced a digital partnership covering areas such as artificial intelligence and quantum technology. She said the EU and Britain "have enormous potential to innovate together."

Burnham said beyond the deal, "we do need to consider what is the right long-term relationship." He said both sides will "seek to conduct an informal brainstorming process" before the next UK-EU summit. He did not discuss whether the UK could rejoin the EU.

Conservative leader Kemi Badenoch said the deal "isn't fair," and Reform's Nigel Farage called it a "betrayal of the British people."