The airlines training systems also need to ensure this happens less frequently, legislation and penalties can help but in the end its down to the human factors in both the cockpit and ATC systems.
The sight of your friendly local air force outside the cabin would most certainly make me very uncomfortable.
Why?
Highly trained crews, disciplined, governed by tight rules of engagement and they practice close formation every day.