Fun fact. Irans executions of gay people in its entire history didn't happen until after the Islamic revolution. Before then and all the way even before the rise of Islam, whatever state that occupied Iran now all had harsh laws against homosexuals...
But enforced none. Not during pre-Roman times, Roman times, early Islamic era, medieval Islamic era, modern Islamic era. None. Not until the 80s did it happen.
It means Iran absolutely can return to a time when homosexuals were at least ignored by the law.