FILE - In this July 19, 2016, file photo, Australia's Deputy Prime Minister Barnaby Joyce takes the oath of office as he is sworn in at Government House in Canberra, Australia. Australia's High Court disqualified the deputy prime minister and four senators Friday, Oct. 27, 2017 from sitting in Parliament in a ruling that could cost the government its slender majority in Parliament. (AP Photo/Rob Griffith, File) FILE - In this July 19, 2016, file photo, Australia's Deputy Prime Minister Barnaby Joyce takes the oath of office as he is sworn in at Government House in Canberra, Australia. Australia's High Court disqualified the deputy prime minister and four senators Friday, Oct. 27, 2017 from sitting in Parliament in a ruling that could cost the government its slender majority in Parliament. (AP Photo/Rob Griffith, File)

CANBERRA, Australia (AP) — Australia’s High Court on Friday disqualified the deputy prime minister and four senators from sitting in Parliament in a unanimous ruling that could cost the government its slender majority in Parliament.

Critics have condemned as outdated the 116-year-old constitutional ban on “a subject or citizen of a foreign power” standing for Parliament in a country where almost half the people are immigrants or have an overseas-born parent. But the court said the lawmakers’ foreign family ties were knowable.

The seven judges rejected the government’s argument that five of the lawmakers — including three government lawmakers — should be exempt from the ban because they had not voluntarily acquired or retained citizenship of another country.

While the judges said it may be harsh to disqualify Australian-born candidates who had no reasons to believe they were not exclusively Australian, “those facts must always have been knowable.”

The judges also pointed to the “difficulties of proving or disproving a person’s state of mind” and the “regrettable possibility of a want of candor” if ignorance of dual citizenship was recognized as an excuse.

ADVERTISEMENT

The decision to disqualify Deputy Prime Minister Barnaby Joyce means a by-election will be held for his rural electoral district on Dec. 2, the earliest possible date.

Prime Minister Malcolm Turnbull’s conservative coalition has a single-seat majority in the 150-seat House of Representatives where parties form governments.

Joyce will be able to stand for re-election, having renounced the New Zealand citizenship he unknowingly inherited from his father. He is likely to retain the seat with the absence this time of his last election rival, independent candidate Tony Windsor, who won’t run again.

Joyce later apologized to his electoral division for the inconvenience of a by-election.

“In my gut I thought this is the way it was going to go,” Joyce told reporters.

“I’m going to make sure that I don’t cry in my beer, I’m going to get back to work and work hard for the people of my electorate,” he added.

The court also disqualified four of the six senators whose qualifications to be elected were debated in a three-day hearing earlier this month.

The disqualified senators included government minister Fiona Nash, Joyce’s deputy in the Nationals party, who inherited British citizenship from her Scottish father.

ADVERTISEMENT

Another government minister Matt Canavan, who the court heard might have inherited Italian citizenship from his Australian-born mother through his Italian grandparents, was allowed to stay in Parliament.

The judges found that they could not be satisfied that Canavan was Italian on the evidence presented to court.

Nick Xenophon was also allowed to stay in Parliament. He was born to Cypriot- and Greek-born parents and checked with both embassies to ensure he wasn’t a citizen of those countries. He later found he was British because his father left Cyprus while it was a British colony.

The judges ruled that’s Xenophon’s status as a British Overseas Citizen did not give him the rights of a foreign citizen because it did not entitle him to enter or live in Britain.

Disqualified senators are replaced by members of their own parties without an election so the balance of power is not altered.

Canavan was sworn back in as a minister for resources and northern Australia late Friday while Turnbull took over Joyce’s portfolios of agriculture and water resources. Two acting ministers took over Nash’s portfolios.

“The decision of the court today is clearly not the outcome we were hoping for, but the business of government goes on,” Turnbull said.

Turnbull said he would refer the court’s decision to a parliament committee to determine whether the constitution should be changed, “ensuring in our multicultural society that all Australians are able confidently to stand for and serve in our Parliament.”

Three parliamentary investigations recommended in the 1980s and 1990s that the prohibition on dual citizens be removed from the constitution through a national referendum.

But successive governments have failed to act, perhaps because of the difficulty in persuading Australians to change their constitution. Of the 44 referendums Australia has held since 1901, only eight have been carried, and none since 1977.

The seven lawmakers said they did not know they were dual nationals when they ran for election last year.

Richard Di Natale, leader of the minor Greens party, praised the honesty and integrity of his former deputies Scott Ludlam and Larissa Waters, who resigned in July after discovering they were New Zealand and Canadian citizens respectively. None of the other five resigned.

“If people are going to have faith in our democracy, then politicians need to start acting with some integrity with some decency and take responsibility for their actions,” Di Natale told reporters.

The lawmakers were exposed as dual citizens as media scrutiny escalated after Ludlam declared in July that he had been illegally elected three times over a decade.

Previously only two lawmakers had ever been caught out by the foreign citizen ban, although other dual citizens have almost certainly served in the Parliament undetected.