if during the Spanish succession wars the Bavarian inheritor of Spain is alives could the war still happen just with the Bavarians gaining part of the inheritance maybe Milan in the aftermath similar to how the other powers peeled off their wamts
The war isn't going to happen given that both the Austrians and the French agreed having the Bavarian prince as a compromise candidate.War would happen though if he refused to give Spain's lands in Italy and the Netherlands to the other two.