A judge has dismissed concerns about two alleged gang rapists' high school exams being disrupted but said remand was not meant to be de facto punishment.