Simple solution: If the A-26 is a ‘Bridge Too Far”, then Sweden buys the German Type 214 air independent propulsion diesel-electric submarine.
At the cost of losing 80+ years of experience designing and building its own...