@nicolas-bastien with the ContainerBlock this was solved properly, having the container block template define if and what glue it wanted.