Yes they do, Ryanair have 30%, If they block it and convince 20% of shareholders not to sell (easy) then they have blocked it.
Also the EU courts have the ultimate decision.
If 50.0000001 % of shareholders block a takeover is blocked.
Nothing to do with a court as court cannot order a takeover.