Not fully true! Borrowings from Western languages were common in Meiji, to the extent that the WW2 wartime government and its predecessors tried to crack down on it. This was a failure, as low literacy lead to soldiers unable to read kanji compounds, with the military reverting.
in the early meiji restoration, Japanese scholars can easily create terms that translate western concept literally combining ancient Chinese classics and general borrowed kanji beautifully. After losing the war, every new terms are soullessly romanized. post war stuffs are boring