Based on the above precedents that "yichud" can apply to two men in a circumstance where homosexual behavior is a concern, a modern halakhic authority rules that two men cannot be alone together if both of them are homosexual. Opinions also exist that the prohibition only applies to two men who are in a relationship with each other, or that there is no technical prohibition at all if they are confident they can avoid forbidden touch (but they should still avoid sharing a bedroom).