The Royal Bank (TSX:RY), which faced fierce backlash earlier this year over an outsourcing arrangement with a supplier that used temporary foreign workers, said Friday it won’t send work offshore just to save on salaries.

The bank, which released a new supplier code of conduct, said it will only send work to offshore suppliers when their scale, technology or knowledge provides capabilities the bank cannot duplicate.

“For example, RBC’s Canadian client call centres are located in Canada, supporting RBC’s domestic and U.S. business, and they will remain in Canada despite the trend in many industries to offshore them,” the bank said in a statement.

The supplier code of conduct was part of a package of promises made by RBC chief executive Gord Nixon in April following a controversy over the bank’s decision to outsource the work of about 45 employees to iGate, which used the temporary foreign worker program.

IGate brought its own employees into Canada under the federal program so they could be trained for the services they would be providing to Royal Bank.

The bank’s new supplier code says its suppliers adhere to human rights, labour and employment standards legislation.

It also says suppliers must not hire foreign workers from outside of Canada, when performing services on behalf of RBC, when a worker eligible to work in Canada is available.

The controversy over the temporary foreign workers program spilled over into the political arena prompting Human Resources Minister Diane Finley to ask officials to review documents submitted by iGate after apparent discrepancies appeared between public statements made by RBC and information previously provided to the government by iGate.

Last month, the government announced changes to the program including an end to a rule that allowed businesses to pay foreign workers up to 15% below average wages for a job.

The Conservatives put a hold on a program that fast-tracked the ability of some companies to bring in workers from outside Canada through what’s known as an accelerated labour market opinion.

In 2012, some 213,516 people entered Canada via the temporary foreign worker program, more than three times the number admitted a decade ago.