the intrepid rider failed to safeguard his head properly , so the force of the impact not only produced a not wholly painless encounter with the gate bars he was holding onto , but also wedged his head securely between two such inhospitable bars .