Presume if the Dano-Norwegian government had the manpower to build huge numbers of gunboats that were not only very manoeuvrable, but strong enough to resist multiple hits and able to stand rough seas.
If this wasn’t enough, then please checkout my own personal strategy plan if I were leading the French and Danish navy. https://sta.sh/01vsj77z8ei1