My guess is the company wanted to set an example and this captain happened to become the scapegoat.
Do you really think that in todays climate of employment law/BALPA representation that ANY company would be allowed to sack someone without just cause?