Construction of dams inevitable: CJP