Lyon - France booked its place in the quarterfinals of Euro 2016 after surviving an almighty scare against the Republic of Ireland on Sunday.