I've found the following line of code used in some of our one-off scripts, and have also found it used in various unofficial (i.e. not entirely trustworthy) websites:
In our usage it's called during the bootstrapping of various .php scripts; things like one-time data-load scripts.
In debugging I see that it change's the current store's Id to zero; however I don't understand the reason or need to do so.
What purpose would this serve, and when (if at all) would it be correct to be used?