Its not EU law as yet. EU Members can weild the veto if they choose.
https://www.consilium.europa.eu/en/council-eu/voting-system/...
You can play with possible coalitions on this link, to be fair due to its population and the nature of this law germany is de facto a swing vote