Negotiations between the United States and Canada on NAFTA got a bit of an unexpected wrinkle this week when off-the-record comments President Donald Trump made in an interview with Bloomberg were leaked. He told reporters, believing what he said would never be made public, that he’s not going to compromise with Canada. Those comments got out anyway.

Here’s what happened: Trump on Thursday was interviewed by Bloomberg News editor-in-chief John Micklethwait and reporters Jennifer Jacobs and Margaret Talev in the Oval Office. White House press secretary Sarah Sanders and presidential assistant Dan Scavino also sat in.

Bloomberg put out a transcript of the sit-down, but that excluded portions of the conversation that were “off the record,” meaning there was a clear understanding between Trump and the reporters that what he said could not be made public. Asking for remarks and information to be off the record — and journalists granting that — is common practice in journalism.

But some of Trump’s comments leaked. Daniel Dale at the Toronto Star published them on Friday, revealing that Trump said “off the record” that he’s not compromising with Canada on NAFTA but can’t say it publicly because “it’s going to be so insulting they’re not going to be able to make a deal.”

Trump tweeted a complaint about the leak on Friday, saying Bloomberg had “blatantly violated” their agreement and asking for an apology.

Wow, I made OFF THE RECORD COMMENTS to Bloomberg concerning Canada, and this powerful understanding was BLATANTLY VIOLATED. Oh well, just more dishonest reporting. I am used to it. At least Canada knows where I stand! — Donald J. Trump (@realDonaldTrump) August 31, 2018

Still can’t believe that Bloomberg violated a firm OFF THE RECORD statement. Will they put out an apology? — Donald J. Trump (@realDonaldTrump) September 1, 2018

Trump’s tweets seem to confirm the veracity of the remarks reported by the Toronto Star.

It’s not clear how the comments reached Dale, or whether anyone at Bloomberg was actually responsible for it. Craig Gordon, the Washington bureau chief at Bloomberg News, in a statement via Twitter said the publication did not publish any off-the-record portions of the interview or authorize the release of any off-the-record material. “When we agree that something is off the record, we respect that agreement,” he said.

Bloomberg has not published any off-the-record portions of our interview with Donald Trump, and we have not authorized the release of any off-the-record material. When we agree that something is off the record, we respect that agreement. — Craig Gordon (@dcraiggordon) September 2, 2018

Canada and the United States are trying to work out a deal on NAFTA

On Monday, Trump announced a new preliminary trade agreement between the United States and Mexico and suggested it could replace the North American Free Trade Agreement, a trade deal between the US, Mexico, and Canada that’s been in effect since 1994. Canada, however, wasn’t in this new potential deal.

The US and Canada have been trying to reach an agreement, but as Vox’s Jen Kirby explains, there are some sticking points: intellectual property rights, Canada’s import controls on dairy, and Chapter 19 of the original NAFTA, which dictates how the two countries resolve trade disputes related to anti-dumping and countervailing duties.

The Trump administration set a self-imposed deadline to make a deal by Friday, but it didn’t, and negotiations continue. Any new NAFTA deal would have to be approved by Congress.

Trump’s remarks during the Bloomberg interview aren’t exactly helping the situation, but both Canadian Foreign Affairs Minister Chrystia Freeland and US Trade Representative Robert Lighthizer have said they’re negotiating in good faith.

“We’re making progress. We’re not there yet,” Freeland said on Friday at a news conference.

Talks will resume on Wednesday, and when they do, they’re likely to be a little awkward, given the off-the-record leak. Here’s what Trump reportedly said, according to the Toronto Star:

“Here’s the problem. If I say no — the answer’s no. If I say no, then you’re going to put that and it’s going to be so insulting they’re not going to be able to make a deal ... I can’t kill these people,” Trump said of the Canadian government. In another remark he did not want published, Trump said that any deal with Canada would be “totally on our terms.” He suggested he was scaring the Canadians into submission by repeatedly threatening to impose tariffs on imports of Canadian-made cars. “Off the record, Canada’s working their ass off. And every time we have a problem with a point, I just put up a picture of a Chevrolet Impala,” Trump said. The Impala is produced at the General Motors plant in Oshawa, Ont.

But that didn’t make it into Bloomberg’s reporting because it was off the record. This is the on-the-record exchange that the publication did put out:

BLOOMBERG: Could you tell us if tomorrow comes and goes, what happens to Canada? What will happen if Canada has ... TRUMP: I think Canada’s going to make a deal at some point. It may be by Friday, or it may be within a period of time. But ultimately they have no choice. BLOOMBERG: Do you think that they’ve reached a tentative deal right now? Does Lighthizer have something cooking pretty close? TRUMP: I think we’re close to a deal, yes.

Canadian officials reportedly found Trump’s off-the-record remarks reflective of their negotiations and brought them up at a meeting with US officials on Friday.

Trump is using the leak as fuel for his attacks on the media

Trump frequently attacks the press and has declared reporters the “enemy of the people,” and he’s using the Bloomberg leak to bolster his anti-media rhetoric. He tweeted complaints about Bloomberg on Friday and said the leak was an example of “more dishonest reporting.”

At a speech later in Charlotte, North Carolina, Trump also reflected on the leak. “These are very dishonorable people, but I said, in the end it’s okay, because at least Canada knows how I feel,” he said. “So it’s fine. It’s fine, it’s true.”

As the Toronto Star explains, Bloomberg made the agreement to keep Trump’s remarks off the record, but the Star, which “obtained the quotes from a source” isn’t bound to that agreement. There’s been a lot of speculation as to how the remarks might have gotten out, but it’s not certain that it even came from Bloomberg — it could have been from the White House, too.

The Canadians appear to be taking it in stride. Canadian Prime Minister Justin Trudeau, who according to the Star was in Oshawa when all of this took place, said he would “only sign a deal if it is a good deal for Canada.”

“Over the past year and a half, there’s a lot of things that have been said from time to time,” Trudeau said. “I think people have noticed that our government’s approach is always to stay constructive, positive, to engage on the substance of issues, and to demonstrate that we understand that the path forward is one of making sure there’s a win-win-win on all sides.”

Trump in an early morning tweet on Saturday said he loves Canada but complained they’ve “taken advantage” of the US.

I love Canada, but they’ve taken advantage of our Country for many years! — Donald J. Trump (@realDonaldTrump) September 1, 2018

In a pair of tweets later in the morning, he doubled down on his harsh Canada rhetoric and urged Congress to stay out of his way in negotiating. “We make new deal or go back to pre-NAFTA!” he wrote.

There is no political necessity to keep Canada in the new NAFTA deal. If we don’t make a fair deal for the U.S. after decades of abuse, Canada will be out. Congress should not interfere w/ these negotiations or I will simply terminate NAFTA entirely & we will be far better off... — Donald J. Trump (@realDonaldTrump) September 1, 2018

....Remember, NAFTA was one of the WORST Trade Deals ever made. The U.S. lost thousands of businesses and millions of jobs. We were far better off before NAFTA - should never have been signed. Even the Vat Tax was not accounted for. We make new deal or go back to pre-NAFTA! — Donald J. Trump (@realDonaldTrump) September 1, 2018

Update: This article was updated with statement from Bloomberg News’ Washington bureau chief, Craig Gordon.