If they revised the design to strip the gun off, well, I don’t know.
A gun is the last resort for a fighter pilot and it’s up close and personal.
I remember a documentary where many veteran Israeli pilots of Arab - Israeli conflicts mention how things got out of hand quickly when their python AA missiles failed occasionally and they suddenly found themselves in a dogfight to death with their opponents. And all they got left was the gun and their skills as fighter pilots.
Also let’s remember how the USAF envisioned the Cold War.
According to contemporary doctrine, high altitude Soviet bombers would penetrate Western air space and to counter them all they needed was the newly developed AA missiles. In fact, they bet so heavily on them that they believed there was no room for guns anymore in that new era where they would be engaging their opponent on such long ranges thanks to their AAs.
And we all know how it went, like Hasanrize said, when they had to engage MIGs with the deadly 23mm guns.
Short version; as long as there is man in the cockpit, things might get out of hand and you need to protect him/her with a last resort weapon.
Hope they didn’t remove the gun.
Sorry, this turned out to be a long piece.