French gendarmerie captain
This hat is virtually identical to the army hats, except that it features the blue color of the "gendarmerie nationale," a police organization that is part of the French Army. The wide gilt band just under the three cords that indicate rank indicates that this officer had a command function. Many thanks to Gregory in Belgium for helping me identify this one.