Section 24A. If, in connection with the alleged commission of a crime described in section thirteen B, 13B1/2, 13B3/4, thirteen F, thirteen H, twenty-two, twenty-two A, 22B, 22C, twenty-three, 23A, 23B, twenty-four or twenty-four B of this chapter or in section five of chapter two hundred and seventy-two, the person against whom said crime is alleged to have been committed has been conveyed from one county or judicial district into another, said crime may be alleged to have been committed, and may be prosecuted and punished, in the county or judicial district where committed or from which such person was so conveyed.