The ruling says the armed forces can be deployed only if Germany faces an assault of “catastrophic proportions”, but not to control demonstrations.
The decision to deploy forces must be approved by the federal government.
Severe restrictions on military deployments were set down in the German constitution after Nazi-era abuses.
The court says the military still cannot shoot down a hijacked passenger plane – fighter jets would have to intercept the plane and fire warning shots to force it to land.
After World War II the new constitution ruled that soldiers could not be deployed with guns at the ready on German soil.
The court has now changed that, saying troops could be used to tackle an assault that threatens scores of casualties.
The judges had in mind a terrorist incident involving armed attackers in public places.
German troops have been deployed abroad since the war, but it has been a gradual process.
German warplanes have been used in the Balkans and troops are on the ground in Afghanistan, protecting construction workers, but able to return fire if attacked.
Image source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…