Whats the tree done to deserve you nailing a vanity piece to it?
A tree can get an infection just like a human can once its skins punctured, especially if some ones driving nails into it. I would be well p#### if it was my land you were on and saw you nailing mirrors to the trees.
Tie it on, or, shock, sit down and shave and just prop the mirror up.