Newly released documents show the country's highest court is ready to launch a legal battle with the federal government over new IT rules which the Supreme Court of Canada fears would threaten its independence.

The Supreme Court is not alone in these concerns: the Federal Court, Federal Court of Appeal, Court Martial Appeal Court and Tax Court are all prepared to launch a constitutional challenge against having the government's super-IT department involved in their digital affairs.

The federal Liberals are now left to decide how to handle an issue created by a decision of the previous Conservative government that came into effect during the federal election.

Story continues below advertisement

That decision forced the courts to go through Shared Services Canada for all IT purchases, such as servers, routers and software, rather than letting them make the procurements on their own. The courts had that power until Sept. 1, when the new rules kicked in and made them a "mandatory client" of Shared Services Canada, which oversees purchases and digital services for 43 of the heaviest IT users in the federal government.

The move approved by the Conservative cabinet in May 2015 was supposed to save money, since Shared Services Canada buys in bulk for the federal government, and improve digital security, because Shared Services Canada buys from safe suppliers.

Briefing material provided to Prime Minister Justin Trudeau shortly after he took office shows the courts were worried that having a government department involved in their IT services "and the perceived implications for control of their data" infringed on judicial independence.

"They must maintain control of their data, not only because of concerns about confidentiality, but also because an independent judiciary cannot tolerate having its sensitive information controlled by a separate branch of government," reads part of Trudeau's briefing on urgent issues facing the new government.

In an August letter to the government's top bureaucrat, officials for the courts argued that they shouldn't be subject to Shared Services Canada's oversight and should be exempt like agents of Parliament, including the auditor general, privacy commissioner and information commissioner.

If the government doesn't backtrack on the cabinet decision, the country's top judges "are prepared to take legal action," Trudeau was warned.

The advice Trudeau received in the secret briefing material has been blacked out from the documents obtained by The Canadian Press under the Access to Information Act.

Story continues below advertisement

A spokeswoman for Public Services Minister Judy Foote, who oversees Shared Services Canada, has yet to respond to questions about what the Liberals plan to do with the courts' complaint.

Shared Services Canada, in an email, would only say that everything the agency does is "aligned with all legislative and legal requirements," including "the need to maintain judicial independence." The department didn't say how exactly that works.