I have thought about it some, and I can't think of any occasion where a program really needs to steal focus.
You could have all sorts of programming guidelines set up for when a developer should choose to implement these kind of features, but there are always some that thinks that their particular application is uber-important, and have it steal focus at certain times.