Former President Jimmy Carter said Wednesday he would take Donald Trump over Ted Cruz to occupy the White House were he forced to choose.

Appearing at Britain's House of Lords Wednesday afternoon, the 39th president surprisingly said he would take Trump over Cruz because of his ability to strike a deal and because many of his positions are not set in stone — as Cruz's are comparably.

"I think I would choose Trump, which may surprise some of you," Carter said when asked who he'd prefer for the GOP nomination.

"The reason is, Trump has proven already he's completely malleable," Carter explained. "I don't think he has any fixed [positions] he'd go the White House and fight for. On the other hand, Ted Cruz is not malleable. He has far-right wing policies he'd pursue if he became president."

The former president who has battled cancer made clear, however, that he expects a Democrat to take the presidency in November as Hillary Clinton and Bernie Sanders fight for the party's nomination. He also declined to offer up an endorsement of either candidate.

"Bernie Sanders has had a remarkable showing, particularly among young people. In Iowa, he had 85 percent of young people's [support]," Carter said. "I don't know what the final result will be. My own personal opinion is that it's very likely Hillary Clinton will still prevail in the Democratic party. Of course, I'm a Democrat and I will support the [Democratic Party's] nominee."

"When people actually get ready to put on a ballot, 'This is the person I want to lead me for the next four or eight years, I think they'll have a little different opinion,'" Carter said.

The comments from Carter come only six days before the New Hampshire primary as Trump continues to feud with Cruz after the latter's victory in the Iowa caucuses on Monday.