If the ruling was against "loud sex" rather than loud noise then yes, it really is over the line. How ridiculous if the judge framed it that way.