I know DoY had slightly bigger guns than Dunkerque, but the 14 's did some serious damage. From Wiki ;
At 16:50, Duke of York opened fire at a range of 11,000 m (12,000 yd); Scharnhorst quickly returned the fire. Five minutes after opening fire, one of Duke of York's 14 in (35.6 cm) shells struck Scharnhorst abreast of her forward gun turret. The shell hit jammed the turret's training gears, putting it out of action. Shell splinters started a fire in the ammunition magazine, which forced the Germans to flood both forward magazines to prevent an explosion. Turret Bruno's magazine was quickly drained, though the ship was now fighting with only two-thirds of her main battery.[56] Shortly thereafter, another 14 in shell struck the ventilation trunk attached to Bruno, which caused the turret to be flooded with noxious propellant gases every time the breeches were opened. A third shell hit the deck next to turret Caesar and caused some flooding; shell splinters caused significant casualties. At 17:30, shells struck the forward 15 cm gun turrets and destroyed them both.[57]
At around 18:00, another 14 in shell struck the ship on the starboard side, passed through the thin upper belt armor, and exploded in the number 1 boiler room. It caused significant damage to the ship's propulsion system and slowed the ship to 8 kn (15 km/h; 9.2 mph), though temporary repairs allowed Scharnhorst to return to 22 kn (41 km/h; 25 mph). She managed to add 5,000 m (5,500 yd) to the distance between her and Duke of York, while straddling the ship with several salvos. Shell splinters rained on Duke of York and disabled the fire-control radar.
But, I doubt if Dunkerque would have fared any better?
Maybe against 11 inch, she may have ?