Complex, unexpected legal difficulties can arise in the aftermath of extreme weather, writes ​​Fraser Napier