Barack Obama takes a principled stance, then says it isn’t a good idea.