What extent did Frederick II of Prussia use military force to achieve his goals?