Victorian Transport Department calls cops on 16 year old for reporting bug that exposed customers' personal data

Thats unlikely here. You can use appropriate force in the defence of yourself or another person. Its fine for a teacher to do that. Our legal system doesn’t hand out ridiculous settlements.