River-bed erosion due to changing boundary conditions: performance of a protective measure