Its fine if you have a chain for the 27th as its just like going from 27 to 25 by having the 25 is the first position,
It may pull the RD too far forward if it is too short i.e. going from a chain for max rear of 25 to 27, what
@Eddy said, chain around both large rings without going through the RD and you should have one whole link extra overlap, in fairness though it is likely to work, there may be a little more chain noise as the RD is further forward