The elites in those societies had a clear interest in carving out special privileges for themselves, which is why officers receive preferential treatment.
The 1929 Geneva convention has other things you may find objectionable, such as Section II, article 9 (paragraph 3)[1]:
Belligerents shall, so far as
possible, avoid assembling in
a single camp prisoners of
different races or nationalities.
Which is there for obvious reasons. Can you imagine the horror of being housed in a racially unhomogenous camp? People in 1929 sure could.1. https://avalon.law.yale.edu/20th_century/geneva02.asp#art9