I doubt the timeframe would be that far ahead, but I think when the threat becomes genuine enough bitcoin will be able to adapt. And consensus is hard enough to build that its not likely to be too rushed
Hopefully Im not too naive, I definitely felt I may have been as I typed it lol
Consensus in this context is an incredibly novel thing