International Olympic Committee (IOC) president Thomas Bach said that the Rio de Janeiro Olympics would be “spectacular” and a “great success” despite a political and economic crisis gripping the host nation.

Bach’s comments came after Rio’s Olympic chief Carlos Nuzman brushed aside complaints over power failures and other problems revealed during a gymnastics event.

Brazil President Dilma Rousseff suffered a humiliating loss in a crucial impeachment vote in the lower house of Congress on Sunday. She is almost certain to be forced from office well before the Olympic Games open in Rio on Aug. 5.

The crisis has paralysed the government as it struggles to revive the economy from its worst recession in decades, casting doubt on Brazil’s ability to complete preparations for the event in time.

A federal prosecutor also told Reuters on Monday that a sweeping investigation into corruption in Brazil is targeting more infrastructure projects for the Olympics than previously made public.

Bach, speaking at the assembly of the Association of Summer Olympic International Federations (ASOIF), called on the IOC to show solidarity with Brazil.

“We know the current economic and political situation in Brazil will continue to make final preparations challenging, but I’m convinced, and we are all convinced, that the Olympic Games 2016 will be truly spectacular,” he said.

“The Olympic Games enjoy strong public support from the Brazilian people and the organisers can count on the solidarity of the sporting world.”

Bach said that staging the Games was a “team effort” and that “the many successful test events which have already taken place are an excellent example of this team work.”

Earlier, the assembly heard that a gymnastics event being held in Rio this week, partly as a test run for the Games, suffered from power failures, problems with the timing system and power outages when athletes were performing.

International Gymnastics Federation official Ron Froehlich told the assembly that the power outages were potentially a “serious issue” and also complained of a lack of sufficient lighting in competition and training halls, which he blamed on funding problems.

But Nuzman, in his address to the assembly, said: “Test events are there to detect problems raised by athletes and national federations.”

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.