After anti-racism petition, AG refers case of Ben John, who was ordered to study Dickens, Austen, as punishment for downloading white supremacist material and bomb-making plans