A federal judge sided with Apple (AAPL 0.59%) Friday, handing the company a win in its ongoing battle against Fortnite creator Epic Games. Judge Yvonne Gonzalez Rogers of the Northern District of California said that Apple could continue to ban Fortnite from the App Store because Epic violated the terms of its contract with Apple. 

The judge noted that there were venues for companies to resolve contract disputes, citing a "significant public interest" in ensuring that parties abided by the terms of their agreements.

A gavel near a laptop with piles of 100 dollar bills and a scale nearby.

Image source: Getty Images.

It was only a partial victory for the iPhone maker, however, as the court forbade Apple from banning the Unreal Engine, Epic's popular tool used by developers as a framework for creating games. Rogers said there was "potential significant damage to both developers and gamers" if the judge allowed the move.

This is the latest salvo in an ongoing feud between Apple and Epic. In August, Epic sought to bypass both Apple and Alphabet's (GOOGL 1.27%) (GOOG 1.25%) Google store by directing users toward its own payment service, effectively bypassing the companies and keeping them from getting their 30% cut, a clear violation of the terms of its agreement with the tech giants.

Apple handed Epic an olive branch, offering to reinstate Fortnite if the company agreed to comply by the terms of the contract. The judge offered a further compromise, saying that Apple's fees from the sale of Fortnite could be placed in escrow until the conclusion of the trial, but Epic balked, saying it didn't want to be forced to comply with an unlawful contract.

In citing her decision, Rogers responded, "I didn't buy that argument before. I'm not particularly impressed with it now."