When a monster wears a helm of opposite alignment, it becomes tame if it were hostile, hostile if it were tame, and either hostile or tame depending on the helm if it were peaceful. When it removes the helm, it undergoes a fresh peacefulness check as if it newly generated.