Answer:
France and Germany
Explanation:
To win the recognition of the Western powers and convince them to change the unequal treaties the Japanese had been forced to sign in the 1850s, Japan changed its entire legal system, adopting a new criminal and civil code modeled after those of France and Germany.