We don't need to replace A 5 and F 7 on one to one basic.
A squadron of JF 17 blk 2 is enough to replace 4 squadrons of F 7.
Furthermore in case of war against our neighbours, once we manage to achieve local air superiority over a designated area, for example, along the Nef River, A 5 and F 7...