I don't think there is anything you can do in any of those cases. If the 'new' battery is showing lower range than the one they replaced, Tesla will just say that it needs to adjust itself and that can take months. You did not win the lottery on this one, but at least it is a working car again.