I had forgotten that the sutta I referred to in the last para above (an7.72/en/sujato) only starts off with sexual misconduct. It lists other forms of unethical conduct that may be indulged in by the bhikkhus. Please pardon this slip of mine.
Incidentally, should the doubt arise whether the Buddha was the cause of the falling away of 60 bhikkhus and of the death of 60 others by giving that discourse, the Arahant Nagasena dispels those doubts in the dialogue mil5.3.2/en/tw_rhysdavids. It is a kind of commentary on that sutta.