Action against the year 12 boys came as the school’s principal issued a campus-wide warning of multiple incidents of male students disrespecting women and girls.