GENEVA (AP) — A Swiss court on Monday threw out a case against a dozen climate activists who were on trial for storming a Credit Suisse office in Lausanne, Switzerland, and playing tennis inside — part of a protest against the bank’s investments in fossil fuels and its brand ambassador Roger Federer.

Lawyer Aline Bonard, among a legal team deployed to defend the Lausanne Climate Action activists, said the court in suburban Renens acquitted the defendants over the stunt that riffed off Federer's role with the bank.

The defendants had refused to pay fines handed down after the incursion at a Lausanne office of the Swiss bank in November 2018. Inside, wearing tennis dress, the activists whacked tennis balls. Environmentalists have used the case to press Swiss star Federer to break his connection with Credit Suisse.

The trial was billed as the first of its kind in Switzerland. The bank had argued that it could not tolerate “unlawful attacks” on its branches.

Lausanne Climate Action says Credit Suisse is one of the top banks worldwide to invest in fossil fuels, making available more than $7.8 billion to nearly four dozen companies that are said to be “extreme” users of dirty fossil fuels and multiplying 16-fold its financing for coal from 2016 to 2017.