Defences are a design standard, not a guarantee
A flood defence is built to hold back an event of a particular size. Events larger than that are not impossible; they are the reason the standard is expressed as a probability rather than as a promise.
What matters is the standard it was built to, its condition now, and whether the risk it was designed against has changed since. A sea wall designed decades ago was designed for the sea as it then was.