Dismissed pregnant woman loses European court case