Context: In some rare cases, such as with Ethiopia and Qing Dynasty China, the local governments were able to use the treaties to at least mitigate the impact of European colonization. This involved learning the intricacies of European diplomatic customs and then using the treaties to prevent a power from overstepping their agreement or by playing different powers against each other.

Question: In what two rare cases were local governments able to mitigate the impact of of European colonization through treaties?
Answer: Ethiopia and Qing Dynasty China

Question: What did Ethiopians learn in order to use treaties to prevent a European power from overstepping their agreement?
Answer: the intricacies of European diplomatic customs

Question: Both Ethiopia and Qing Dynasty China learned the intricacies of European diplomatic customs to mitigate what through treaties?
Answer: the impact of European colonization

Question: In addition to preventing a power from overstepping their agreement, how was Ethiopia able to mitigate the impact of European colonization?
Answer: by playing different powers against each other

Question: Ethiopia and Qing Dynasty China were both able to prevent European powers from doing what to their agreements?
Answer: overstepping