Requiring citizenship in order to obtain secrecy is, if you think about it, not really going to work. How do you prove that the account holder is a citizen if you don't know who it is?
Neutrality means, necessarily, that you will deal with scum. But it also reduces your chances of involvement with devastating wars. The Swiss have made their choices.
Alternately, the Swiss can tell each country how much money their citizens have in Switzerland (in aggregate).
Neutrality requires secrecy. If you favour one group with disclosure and not another group, you're no longer strictly neutral. You have to treat everyone identically or it no longer works. That means that you are the refuge of scoundrels and a bulwark of liberty. The Swiss have decided entirely reasonably that that's what they want.
The Swiss desire peace. In their history they've suffered from some stunning little civil wars. In order to obtain and retain peace, they have amongst other things decided on a policy of strict neutrality. They can in part uphold this because of their geopolitical position in Europe -- an almost perfect natural fortress. It is easy to defend and they can keep themselves in food and water more or less indefinitely.
As a consequence of neutrality and defensibility, their country has natural competitive advantages in banking. Complaining about the Swiss being good at banking is like complaining about the USA being good at farming. In both cases natural features and political history have pretty much made certain outcomes more or less inevitable.
And what happens to the money when the dictator dies? Do the Swiss banks return the money to the people on their own volition? Of course not.
I admire Swiss privacy laws, but they should be applicable only to the Swiss citizens. Switzerland has no reason to shield non-citizens and criminals from around the world.