Assign another role instead of Customer used by WooCommerce

WooCommerce automatically assigns to a new registered user the “Customer” role. What to do if you wish assign another role instead of Customer used by WooCommerce?
Thanks to WooCommerce developer for the intensive use of WordPress filters. There is a special filter ‘woocommerce_new_customer_data’ which allows to change such new registered user attributes as: user_login, user_pass, user_email, role. Read more Assign another role instead of Customer used by WooCommerce