Errors adding rebuilt proxy into satellite/foreman


I've had occasion to rebuild a proxy (having removed the old one from
satellite/foreman including content host) and get errors when I go to add
it into satellite/foreman again

“Name already taken”

“URL Only one declaration of a proxy allowed.”

How can I overcome this to add the proxy in please? There's infrastructure
surrounding the original hostname so don't wish to change it.