Hi all,
I am trying to remove a Bot that I no longer need. I have removed it from the unmanaged solution on my DEV environment and prepared a new managed version. However, there is an error about dependencies during import into the UAT environment.
Details: This is the managed solution, consisting of 1 Chatbot with components, 1 Table, 3 Flows and 1 Connection reference.

None of this is needed at all.
First, I tried to delete the solution from the environment. The environment is managed. This is not possible due to dependencies.

Second, I have removed all the components, which are mutually dependent, and created a new version of the solution. The solution is now empty.

I have tried to import this new version using Upgrade option and expected all the components to be deleted.

But the import ended with error: Solution "XXX" failed to import: Solution Upgrade action failed after import as holding. InnerException is: Solution dependencies exist, cannot uninstall. DependencyCount : 325
And each component was listed as dependent....... But there is no dependency on any object which is outside the solution. I just need to remove it all at once.
Any advice on how to proceed?