Ireland narrowly booked their place in the 2008 World Cup with a 16-16 draw against Lebanon in their final European qualifying group one match.
The Irish head to the tournament in Australia after topping their group on points difference.
Lebanon, forced to play their home tie at Dewsbury because of the volatile situation in the Middle East, had led 16-14 with four minutes left.
But substitute Chris Bridge rescued a draw with his second penalty.
It was the second draw between the two sides as Lebanon were left to rue their failure to post enough points against Russia.
But the Lebanese will have a opportunity to claim the 10th place in Australia by entering the repechage.
In terms of the game in Ireland, it's a massive step and gives us something to focus on in the year to come
Meanwhile, Ireland join previous qualifiers Tonga and Fiji alongside automatic entries England, Australia, New Zealand, France and Papua New Guinea in the main draw of the World Cup.
"I've been involved with the Irish coaching set-up since 2000 and qualifying for the World Cup sits amongst the highest honours I've ever achieved in the game," said Ireland coach Andy Kelly.
"I'm immensely proud of what we've done and what we've achieved and I hope we can push on now.
"In terms of the game in Ireland, it's a massive step and gives us something to focus on in the year to come."