In OTL, Japan and China are probably the only significant countries that managed to avoid being at any point totally owned by foreign powers. Though China was largely economically partitioned in the 19th century, it managed to keep its regional autonomy, unlike, say, India.
Japan simply...