The M2 Browning will also be relevant for a long time, sucker has been around for over 100 years and still used today. Heck in recent years a company made a suppressor for it as a proof of concept.
Imagine the confusion of troops on one side when they hear an enemy C.O. say "bring out Carl" and then their utter fear when they they see the enemy troops pull this gun.
Well, that's kind of the point. If you want a hand cannon, it has to go boom. I can understand it's getting less and less fun to be around after the first shot when you just laugh.
The Swedish army is now getting the M4+ with new ammunition. It will completely replace the older version. Upgrade NLAWs and AT4 s are also being delivered.