A Manhattan judge will allow state election officials to certify this year’s primary results — but he will still take up the larger question of whether New York’s closed primary system is unconstitutional.

The US Supreme Court also debated the issue — 40 years ago.

“So-called voter suppression measures, common around the country, have no place in a true democracy,” Manhattan Justice Arthur Engoron wrote in a ruling released Monday afternoon.

Manhattan trial lawyer Mark Warren Moody sued the city and state election bodies last week, saying that millions of New Yorkers — including Donald Trump’s kids — were barred from voting in the presidential primary because they didn’t change their party affiliation before the October 2015 deadline.

Moody asked Judge Engoron to delay the certification of election results — expected as early as May 3 — until all affidavit ballots were counted.

But Engoron declined, saying he was “concerned that a ruling in [Moody’s] favor will denigrate the associational rights of the political parties and their members.”

He’s also worried that allowing voters to cross party lines could lead to what’s called “party raiding,” where “voters not aligned with a particular party or its philosophy and goals will vote for the weaker or weakest candidate in the party’s primary, hoping to prevail in the general election.”

Still, the judge said he has a “open mind” and Moody might “ultimately prevail on the merits” of whether the closed primary system is unconstitutional because it disenfranchises 3.2 million voters who are not registered as either Democrat or Republican and thus cannot participate in primaries.

“The requirement that voters register with a party months beforehand might suppress, but does not eliminate party raiding: and in many cases may just be an unnecessary hindrance to citizens exercising the franchise at a meaningful point in the process,” Engoron notes.

“All [Moody] asks is that otherwise-qualified citizens be allowed to vote for a single candidate in a single primary,” Engoron says.

Moody filed the suit after missing an October deadline to register as a Democrat and vote in the April primary. Moody declined to tell The Post which candidate he supports.

But his suit notes that he’s in the same boat as presidential contender Trump’s children, Ivanka and Eric, who blew the early deadline and couldn’t vote.

In 1973, the U.S. Supreme Court, in a case called Rosario v. Rockefeller, upheld New York State’s closed primary system.