Safavids are imo much more likely on the grounds of, to be honest, having many achievements besides also displaying excellent art and architecture, such as actually being capable of winning wars
Safavids built widely respected state and are responsible for modern borders and incarnation of the concept of Iran, were capable of fighting like equals with Ottoman and Mughal empires at the peak of their power, and overall were not very badly behind the development level of their era. They were also capable of fighting off Portuguese and one of two Russian attempts at invasion (with the second one being fair fight).
Qajar era meanwhile is frankly fairly miserable for Iran outside artistic matters - almost every war they waged was a disaster, they were relentlessly bullied by colonial empires and lost crucial territories to them, failed all attempts at modernization, and were utterly powerless, non-industrialized paper tiger barely surviving as a buffer state between Russian and British interests. I'd honestly say their era was the most miserable in the Iranian history in terms of its international reputation and relative power. Say what you want about the Islamic Republic but it stubbornly holds out while being massive headache for many global powers and having medium, not terrible level of development.