@erikstromme on WordPress.org
Created ticket #19492 on Core Trac:Problems with using wp_insert_term together with switch_to_blog