during that time , he had taken in a kind of passive insight into the mechanisms of martial justice , not least among which was the fact that the martial courts were partitioned according to caste , and justice was dispensed more equally among some castes than others .