In what type of cases is consent ineffectual?