you should use:

````php
$container
    ->register(...)
    ->addTag(..., array(
        'replaces' => 'bundle.service',
    ))
;
````