The blast took place near the capital's Palace of Justice, a key government building, sparking scenes of panic in the busy area.