Sometimes the friendliest thing to do is to have some harsh words with someone for his own protection.
Plenty of stable doors slamming shut now.
His behavior should have been checked long before it got this far. I hope pertinent questions are asked re. his immediate Senior Officer(S)