Yes, the drive's defect management code will either (1) remap the bad sectors as they are rewritten, or repair them when rewriting the entire physical track.

Cheers