Polish Foreign Minister Stefan Mellar said his country should stop Iran from investigating the scale of the Holocaust , which Iranian President Mahmoud Ahmadinejad has dismissed as a myth .