At which point someone builds a facsimile of one of these as a counter rendering all those vessel types quoted above as white elephants.
If your building priority for a blue water navy by the start of the forties is not focused on Carriers {both large and small/escort}, destroyers and submarines followed later by support vessels you're doing it wrong.
Besides, vessels tend to operate in groups/fleets and if you wisely ignored any naval treaties imposed limits, pending you also haven't already suffered horrible battle losses, you should have plenty of good battleships built from the late 1910s to the early 1930s that would be more than a match for any of those vessels. A dozen pre-war 406mm armed battleships acting as escorts for various task forces composed of Escort carriers plus a few other supporting vessel types would be a tough opponent to engage let alone defeat.