I checked more information and currently, HubSpot Helpdesk doesn’t automatically overwrite an existing subject line when inserting a template.
Since it works when you delete the subject manually, a workaround could be using a workflow or ensuring the email is started with an empty subject before applying the template.