Maybe after the loss of the Agrius they went back to the drawing board to redesign some anti-dragon ships, but the Gration was to far along in construction to be scrapped or converted, so they just finished it? Ship building in real life is a matter of years, after all.