taxonomy template for custom post type the same as the archive

Thanks for Milo’s pointer

function department_template( $template="" ) {

 if (is_tax('department') ) {
   $template = locate_template( 'archive-team.php' );
 }

 return $template;

}

add_filter( 'taxonomy_template', 'department_template' ); 

Worth noting this doesn’t disturb the hierarchy if another taxonomy is involved, ie taxonomy-othertax.php is called correctly for taxonomy ‘othertax’.