Ivan Nicol passed through the crossing gates, ignoring red flashing lights and a warning siren, and collided with the the Inverness-bound train.