An F/A-18 Super Hornet prepares to land on the deck of the USS Eisenhower in the Atlantic Ocean off the coast of Virginia Dec. 10, 2015. Photo: Mark Wilson/Getty Images

Thousands of American jobs are in a state of limbo, and Canadian Prime Minister Justin Trudeau just might be able to help save them. Eight hundred miles away from where he and U.S. President Obama are attending a state dinner in Washington Thursday night, Boeing employees at the defense contractor’s St. Louis manufacturing plant are waiting to see on which side of a potential deal with the Canadian military they will end up.

Within days of taking office last year after almost a decade of Conservative rule, the Liberal Trudeau initiated a period of drastic change in Canada’s foreign policy as he ordered the country’s military to withdraw from the war against the Islamic State group (aka ISIS) in Iraq and Syria. As a result, Canada’s $8 billion deal to buy 65 F-35 Joint Strike Fighter aircraft from Lockheed Martin was thrown into question, with the country looking for a less expensive alternative, which includes Boeing’s F/A-18 Super Hornet jet fighters. But until Canada’s National Defense Department chooses which new jet fighter it wants, the future of Boeing’s employees in St. Louis is uncertain.

“If we could get this deal, it would really lift a lot of the anxiety among my Boeing members,” said Steve McDerman, president of District 837 of the International Association of Machinists and Aerospace Workers in St. Louis. “We’ve had a lot of setbacks with the Super Hornet, particularly with the [U.S.] Defense Department unable to find funding to buy more past 2018, but also a bunch of overseas deals that never happened.”

Boeing has been on the wrong end of a number of defense deals in recent years, most notably losing out on an $80 billion contract to build the U.S. Air Force’s new B-21 stealth bomber and watching the Kuwaiti military sign a deal for Eurofighter Typhoon jets instead of its own Super Hornets. Together with the fact the Pentagon cannot promise it will buy Super Hornets past 2018, this means that Trudeau’s visit becomes all the more important for Boeing’s entire defense arm and its workers in St. Louis.

But time is running out for Boeing. The company either has to get a firm offer to build new jets or self-fund the building of the Super Hornet to keep the production line open and save jobs in the hope that overseas deals do come eventually or the U.S. Navy is able to find money to buy past 2018. The current Pentagon plan is to buy two jets in 2017 and 14 in 2018. If the line closes, jobs at Boeing and hundreds of small subcontractors would be lost.

Various media sources have indicated during the past few days that talks between Obama and Trudeau are to concentrate on the environment, trade and travel between the two countries. The Canadian Privy Council Office, described as a provider of “nonpartisan, public service support” to Trudeau and his cabinet, told International Business Times in an email Wednesday that it would not comment on the prime minister’s defense-related discussions with Obama.

However, Andrew Hunter, director of the Defense-Industrial Initiatives Group at the Center for Strategic and International Studies, a Washington-based think tank, said the F-35 will definitely be a major topic of discussions between the American and Canadian delegations.

“It’s going to have to be a pretty big element in the conversation at the White House,” Hunter said. “Obviously, Trudeau making such a high-profile campaign promise on canceling the F-35 as he did, and the fact that his path forward in fulfilling that promise is currently unclear, it stands out as an issue that he needs to make progress on to show the folks back home that he’s following up on what he said.”

But in promising to cancel the F-35 purchase, primarily because he considered it too expensive and outside his vision of the country’s foreign policy, Trudeau said the Canadian Armed Forces would still need to replace its old Boeing CF-18s.

While Boeing may appear to be the obvious choice to build the new aircraft, offering continuity to the Canadian military, a Lockheed Martin representative told IBTimes during a call Wednesday that Canada was still a full member of the F-35 program and had already paid its $150 million development fee. In a subsequent email, Mike Rein, director of F-35 communications at Lockheed Martin Aeronautics, said the company believed the “F-35 is the best solution for Canada’s future fighter defense.”

It remains to be seen how the Pentagon and Lockheed Martin will react to Canada potentially pulling out of the deal. In such a scenario, it’s expected F-35 program costs for other member countries would increase immediately by about 1 percent per aircraft, which each cost between $85 million and $120 million. But another concern for the U.S. is interoperability and having its NATO allies using the same aircraft.

“From a U.S. strategic standpoint, we want more of our allies and friends to have as advanced fighter aircraft as possible, so getting Canada to buy the F-35 is really important in the long term and something the Pentagon really want to encourage,” said Justin Johnson, a defense analyst at the Heritage Foundation, a conservative research think tank in Washington. “And from a financial point of view, more customers mean keeping the costs for Lockheed’s customers low. Every cut has the potential to increase costs for everyone else.”

However, Canadian National Defense Minister Harjit Sajjan said in December he wasn’t ruling out the F-35 and that a bidding competition would begin to find a replacement for the CF-18. “My focus isn’t about F-35 or any other aircraft,” Sajjan said, adding that it is about replacing the CF-18s. “We will open it up to an open process.”

Although the initial commitment to the F-35 was made years ago by Canada’s former prime minister, the Conservative Stephen Harper, Trudeau has used the controversial aircraft as a launching point to change Canada’s relationship with the U.S. and how it interacts in Iraq and Syria.

“A lot of what’s going on here has to do with Canadian foreign policy rather than the virtues of a particular aircraft,” said Richard Aboulafia, aerospace expert and vice president of analysis at Teal Group, a market analysis firm in Fairfax, Virginia. “Canada is doing this because they want to get away from coalition warfare, the bombing campaign against ISIS and moving toward just having an air force for national sovereignty. Form follows function.”

Some of the associated changes have already been put into effect by the Canadian Parliament. In February, Trudeau ordered the CF-18s to stand down and come home no later than the end of March. And politicians in Ottawa voted Tuesday for a new mission that will involve training and intelligence gathering in Iraq and Syria instead, costing the country about $1.6 billion during the next three years. The new mission will triple the number of Canadian special forces in Iraq over the next two years, while boosting the number of general military personnel there to 830 from 650.

While Canada’s military mission in the Middle East means little to either McDerman or his union members at Boeing, he did admit his interest in the country’s foreign policy had unexpectedly been piqued recently because of what the nation’s decision about the CF-18 replacements would mean to the people he represents. “We really have one of the best fighter jets in the world right here in St. Louis and some of the best people building it,” McDerman said.