Complex sentence: Male to male sex was illegal under previous law but it was very narrowly interpreted by the courts, usually they require penetration to have occured for'buggery' to have taken place.
Split into simpler sentences: Male to male sex was illegal under previous law but it was very narrowly interpreted by the courts. Usually the courts required that penetration to have occured for'buggery' to have taken place.