A few other things that are an expansion of the topic and just for completeness:
Particularly in medium voltage transformers there very well may be sound engineering reasons to go with a YY transformer and to match the transformer configuration to the source. Ferroresonance for example might be one.
Also for single phase MV transformers, the transformer is typically described by the type of system that will be feeding it and this implies how many medium voltage bushings the transformer has. For example a 12470GRDY/7200 has a 7200V primary and is fed line to neutral and intended to be fed from a multi-grounded neutral system. It will have one primary bushing with the primary neutral connected to the tank. You could not feed this transformer with two ungrounded legs. On the other hand a two bushing transformer could be fed line line or line neutral.