Such ranks tend to be mostly for pay grade and they count for some formal but mostly meaningless stuff like who salutes whom first and who gets to tell off whom (in practice for such officers, it's more a shield than a weapon - everyone knows which kind of officers they are) in general situations. These officers aren't going to be leading direct fighting or anything like that.
Source: Was a draftee once, talked to a technical officer later.
but I mean..
why put them in the military?
That seems like, I don't know, maybe something that can go south in a lot of different ways.