Several people were reportedly injured after a shooting at a court in Germany.