Robert J. Castelli , a former police instructor who teaches police procedure at the John Jay College of Criminal Justice in New York , said that if accounts of the episode are accurate , the sheriff 's office violated most of the accepted guidelines for transporting prisoners .