During World War I and World War II , the Institute was used and by Germany 's military . During World War I and World War II , the research of the institute was directed more or less towards Germany 's military needs .