Do Global labels connect to Local labels?

They can be connected together, but there’s some logic according to which the net name is decided, and it may be confusing. @craftyjon explained something here, but I can’t find any better documentation now.