In his era of presidency this was true, Germany practically didn't care about army, similarly to Japan, but with catch.. both of them were occupied, and still are, by USA on its pinnacle and with american bases in their countries...
With Trump that is definitely finished, they will spend more on military or more on racketeering for protection...
Rafsanjani's view on geopolitics now can be true for the balkanian quasi states... there are no armies, not even basic training to youth, and never more peaceful Balkan... But colonies are never encouraged to be military capable, regardless of semi colonial status in this case...