Military sidearm? He probably got detention because the picture was of the wussy Beretta and not the 1911.
Take a better look. It’s a reversed image 1911.