Joy ride ends in train crash