It is possible to have several virtualHost configuration nodes with the same values within the name attribute.
Doing so will overwrite the configuration of the first node with the settings of the following one.
This is done without notice and can result in weird misbehaviour if the configuration is not cleanded from duplicate virtual hosts.
A situation like this should either result in a warning, or even a more severe reaction (aborted server start?). This might also be a security risk as virtual host settings can be used to influence the settings of other apps by overwriting e.g. their access settings.