remove old drive from Time Machine backup
I found a solution in this answer:
How can I delete Time Machine files using the commandline

I used /System/Library/Extensions/TMSafetyNet.kext/Contents/Helpers/bypass
and it worked for me