Can't transpose to Gb Major

Dorico won’t allow transposing to G flat major. Why?

I found out why. I was trying to transpose from E to Gb, but in the middle of the score there is a change to G. If I transpose a third diminished, the second key G would go to Bbb. I personally think the software should allow it, but I understand why not (perhaps Dorico could show a warning that a key can’t be transposed and ask if we want to use an enharmonic alternative…an idea).

Filipe, yes, when there is a section in G-Major later in the score it will not transpose : (