The Nazis were originally called the German Workers Party, and the name change to incorporate the word "socialist" was partly designed to pull in working class voters by making the party seem more caring and respectable than it actually was, because "socialism" was a relatively "good" word to many idealistic people in the 1930s on both sides of the Atlantic.

But in any case, merely because a party calls itself by a name doesn't mean that this is what it stands for, and that is especially so given the low standards of honesty practiced by totalitarians.

Vladimir Zhirinovsky's Russian fascist group of the 1990s was ludicrously called the Liberal Democratic party although it was virulently anti-liberal and anti-democratic.
"The Best of the Leon Russell Festivals" DVD