Problem with Tag

Hello;
I have a GameObject with the tag “Player”.
When I press the button “V” the tag of that GameObject changes to “snowman” - to prove that this works I ve tested Debug.Log(this.tag) after changing the tag and it WORKS.
But here is my problem:
There are bullets in the Game, which check on OnTriggerEnter2D if the collision was an object with the tag “Player”. If the tag was “Player” then the object loses HP, if the tag was not “Player” then ignore.
After pressing V, the objects still loses HP on a collision with Bullet.
I tried Debug.Log(collision.gameObject.tag) and it tells me that the tag of the collision is “Player” while pressing “V” shows “snowman”.
Why doesnt the Bullet recognize that the tag has changed?

private void OnTriggerEnter2D(Collider2D collision)
{

GameObject hittedPlayer = collision.gameObject;
Debug.Log("gameobject tag: " + hittedPlayer.tag);

if (target.tag == “Player”)
{
//do smth
}

}

It looks like your ‘if’ statement is checking ‘target.tag’ when it should be checking ‘hittedPlayer.tag’.