Geotechnical analysis of an ancient dam built in unfavourable geological conditions.