Just saw this story on CBC:
Basically, it seems RBC is using the temporary foreign workers program to replace existing employees. That is supposedly against the law, though I'm sure they've found some loopholes. Probably to do with the fact that they aren't actually hiring the foreign workers as new employees, but rather just getting service contracts from iGATE, a company that specializes in replacing personnel with foreign workers to learn the jobs, then later once they've learned them, bringing them back to India and having the client (RBC in this case) outsource the jobs to the overseas location.
One of the sad things is it's this kind of irresponsible behavior that will force government to keep making immigration paperwork more and more onerous and difficult until there's no way to immigrate without paying tens of thousands in lawyers fees to navigate through it all. Having just gone through America's immigration process with lawyer and filing fees over the years totaling upwards of $25k, such things tend to piss me off.
It also seems humiliating to be required to train your replacement prior to being laid off. I think I'd just quit before doing that.