Iran's court system has confirmed that the country has arrested a Swedish citizen who works in the European Union.