OTTAWA - It was "unreasonable in all circumstances" for the federal government to appoint a third-party manager in response to an unfolding humanitarian crisis in the troubled First Nations community of Attawapiskat, the Federal Court ruled Wednesday.

But there was no political malice at play in the decision — on the part of either Prime Minister Stephen Harper or members of his cabinet — nor any intent to embarrass the northern Ontario reserve or its members, the court concluded.

Sending in Jacques Marion last November to take over the band's finances was the wrong way to address what was a critical housing shortage and worsening crisis on the northern Ontario reserve, the court said in its written ruling.

"The decision to appoint (Marion) did not respond in a reasonable way to the root of the problems at Attawapiskat nor to the remedies available," wrote Federal Court Judge Michael Phelan.

"The (government) invoked a financial management remedy without considering more reasonable, more responsive or less invasive remedies available."

The decision to appoint someone to take over the band's books was made without any indication that there was a problem with the way the band was being managed, Phelan pointed out. Indeed, it was Prime Minister Stephen Harper himself who pointed out in the House of Commons that the government had invested more than $90 million in the community, he continued.

"The reference by the prime minister as to the $90 million could not have related exclusively to the funds made available for housing repair or reconstruction," Phelan wrote.

"It would be inaccurate to suggest that officials were insensitive or uncaring about the situation at Attawapiskat.... The problem seems to have been a lack of understanding of the AFN’s actual needs and an intention on the part of officials to be seen to be doing something."

The Conservative government made it clear Wednesday it's unhappy with the ruling, but isn't yet ready to say whether an appeal is in the offing.

"We are disappointed with the court's decision and will review it to determine the appropriate next steps," said Jason MacDonald, a spokesman for Aboriginal Affairs Minister John Duncan.

The ruling verifies what many experts have already concluded, said constitutional lawyer and University of Ottawa professor Joseph Magnet: the relationship between the federal bureaucracy and some aboriginal communities is seriously flawed.

"It's just dysfunctional," Magnet said. "You can see it (in Attawapiskat) and you can see it elsewhere. Those relationships don't work."

New Democrat ethics critic Charlie Angus, whose riding includes Attawapiskat, said Duncan sat on his hands for a month while the housing crisis was unfolding, and then overreacted when it began making headlines.

When the crisis quickly became a black eye for the government, "in the midst of what became an international crisis, their response was to run roughshod over the law, attempt to remove a democratically elected band council, and break the law," Angus said.

"We really have to ask ourselves why is it that this combination of incompetence and ruthlessness was the only response of this government to deal with a community that was desperately poor and asking for help."

The court, which acknowledged the politically charged climate and intensive media attention at the time, took pains to point out that it found no evidence Ottawa was playing politics with the community when Marion was appointed.

"Those allegations were largely withdrawn, and to the extent that they linger, the court finds that there is no evidence that the prime minister or the cabinet engaged in such reprehensible conduct," the decision said.

"The problem in this case does not lie at the feet of the political masters but in the hands of the bureaucracy."

The James Bay community of 2,000 declared a state of emergency in October 2011 after a severe housing shortage forced more than two dozen families to live in temporary, mouldy shelters, some without insulation or plumbing.

The Conservative government appointed a third-party manager amid suggestions from Prime Minister Stephen Harper that the band had been mismanaging federal funds in the face of the housing crisis.

Marion was withdrawn in April, but the Attawapiskat First Nation persisted in its lawsuit against the government, anxious to get the courts to "refute'' Harper's suggestion that the band had been mismanaging federal money and to have Marion's appointment declared unlawful.

Harper's comments at the time show that the government sees aboriginal people as adversaries, said Liberal aboriginal affairs critic Carolyn Bennett.

"(The government) chose to smear the reputation of the band instead of owning up to its responsibility to respond to the housing emergency in Attawapiskat.”

When Marion was pulled, government officials insisted it was due to the fact the band had done a good job in improving the health and safety conditions that had required the outside control in the first place.

They said the 25 families affected by the housing crisis were now living in better conditions.

Magnet urged the government to follow up the ruling by launching a complete review of living conditions in Attawapiskat and shake things up in Aboriginal Affairs.

"If I were minister, I would be moving in and cleaning up house," he said. "You can't have that kind of a bureaucratic failure and say, 'OK, try to do better next time.'"

Also on HuffPost:

Loading Slideshow...
  • Oka Crisis

    Canadian soldier Patrick Cloutier and Saskatchewan Native Brad Laroque alias "Freddy Kruger" come face to face in a tense standoff at the Kahnesatake reserve in Oka, Quebec, Saturday September 1, 1990. Twenty plus years after an armed standoff at Oka laid Canada's often difficult relationship with its native peoples bare in international headlines, the bitterly contested land remains in legal limbo. (THE CANADIAN PRESS/Shaney Komulainen)

  • Oka Crisis

    A warrior raises his weapon as he stands on an overturned police vehicle blocking a highway at the Kahnesetake reserve near Oka, Quebec July 11, 1990 after a police assault to remove Mohawk barriers failed. Twenty plus years after an armed standoff at Oka laid Canada's often difficult relationship with its native peoples bare in international headlines, the bitterly contested land remains in legal limbo. (THE CANADIAN PRESS/Tom Hanson)

  • Oka Crisis

    A Quebec Metis places a stick with an eagle feather tied to it into the barrel of a machine gun mounted on an army armored vehicle at Oka Thursday, Aug. 23, 1990. The vehicle was one of two positioned a few metres away from the barricade causing a breakdown in negotiations. Twenty plus years after an armed standoff at Oka laid Canada's often difficult relationship with its native peoples bare in international headlines, the bitterly contested land remains in legal limbo. (THE CANADIAN PRESS/Bill Grimshaw)

  • Oka Crisis

    A Mohawk Indian winds up to punch a soldier during a fight that took place on the Khanawake reserve on Montreal's south shore in 1990. The army broke up the fight by shooting into the air. Twenty plus years after an armed standoff at Oka laid Canada's often difficult relationship with its native peoples bare in international headlines, the bitterly contested land remains in legal limbo. (CP PHOTO)

  • Ipperwash

    Two aboriginal protesters man a barricade near the entrance to Ipperwash Provincial Park, near Ipperwash Beach, Ont., on Sept. 7, 1995. (CP PHOTO)

  • Ipperwash

    Ken Wolf, 9, walks away from a graffiti-covered smoldering car near the entrance to the Ipperwash Provincial Park in this September 7, 1995 photo. A group of aboriginal protesters were occupying the park and nearby military base. (CP PHOTO)

  • Caledonia Protests

    Caledonian activist Gary McHale (right) is confronted by a Six Nations Protester as he attempts to lead members of Canadian Advocates for Charter Equality (CANACE) in carrying a makeshift monument to Six Nations land in Caledonia, Ont., on Sunday February 27, 2011. CANACE claim inequality in treatment for Caledonian residents from Ontario Provincial Police compared to that of the Six Nation population. They planned to plant a monument of six nation property to demand an apology from the OPP, but were turned back by protesters. THE CANADIAN PRESS/Chris Young

  • Caledonia Protests

    First Nations people of the Grand River Territory stand with protest signs as they force the redirection of the Vancover 2010 Olympic Torch Relay from entering The Six Nations land Monday, December 21, 2009 near Caledonia, Ontario. The Olympic torch's journey across Canada was forced to take a detour in the face of aboriginal opposition to the Games, with an Ontario First Nation rerouting its relay amid a protest from a splinter group in the community. (THE CANADIAN PRESS/Dave Chidley)

  • Caledonia Protests

    Six Nations protesters guard the front entrance of a housing development in Hagersville, Ont., just south of the 15-month aboriginal occupation at Caledonia on Wednesday, May 23, 2007. The protest was peaceful. (CP PHOTO/Nathan Denette)

  • Caledonia Protests

    Mohawk protestors block a road near the railway tracks near Marysville, Ont. with a bus and a bonfire Friday April 21, 2006. The natives showed their support to fellow natives in Caledonia, Ont. where they were in a stand off with police regarding land claims.(CP PHOTO/Jonathan Hayward)