The play, which had its premiere in 1907, initially courted controversy with its depiction of homosexuality.