IANAL, but yes, I believe it can nullify the claim. Bumping into someone on the sidewalk is only battery if the prosecution demonstrates intent to harm.