Tables were turned on the teachers of a Newport school when the students staged a friendly takeover.