Can't recreate container while reusing ipv6address

I have several containers using a macvlan ipv6 address.

When I upgrade the docker container, docker complains the ipv6 address is already in use while creating the new container.

When doing a docker network inspect the ipv6 address is actually not listed and after a restart of docker the container with the specified ipv6 address is created without any problem.