Does the switch_theme action run when you’re upgrading a theme?

My educated guess is that process is implemented in Theme_Upgrader class.

It does some stuff with upgrader_post_install hook (seems like a good candidate) and it does run switch_theme() under some conditions (that I am too lazy to make sense of at moment).