What Iran did was akin to voting that Paris is the capital of Germany.
The last person who tried that stunt was Adolph Hitler.
Shouldnt that be Berlin is the capital of France