I think I have your question “in reverse”. understanding your post I think my idea might actually work as I want it to work. Could you take a look please?
Thanks!
edit: the link: Limit Multiplus current and AC-in connected solar (combined) for external breaker box