SAN DIEGO — SeaWorld filed a lawsuit Tuesday challenging a California commission's ruling that bans the company from breeding captive killer whales at its San Diego park.

The suit filed in San Diego County Superior Court says the California Coastal Commission was outside its authority when it made the ruling on breeding in October.

The commission endorsed a $100 million expansion of the tanks known as "Blue World" that SeaWorld uses to hold orcas, but in a surprising and serious blow to the park, included a ban on breeding at the planned facility and prohibitions on the sale, trade or transfer of the whales.

"This last-minute 'no breeding or transfer' condition is unprecedented," SeaWorld said in the lawsuit, which claims the commission's action is illegal because it has no jurisdiction over the orcas.

"The orcas are not, in any way, part of the coastal or marine environment," the lawsuit says. "All of SeaWorld's activities with respect to the care, breeding and transportation of orcas occur onshore in the orca pools and not in the marine environment and are specifically governed by federal law."

Noaki Schwartz, spokeswoman for the Coastal Commission, said the agency was still reviewing the lawsuit and had no immediate comment.

People for the Ethical Treatment of Animals, which fought hard for the ban, skewered SeaWorld over the legal move and defended the commission's decision in a statement provided to Mashable.

"It's clear that the company's primary intention in pursuing the Blue World Project was to breed more orcas to confine to tanks," PETA wrote. "However, SeaWorld's only chance of competing in the 21st century is to do what PETA has urged the company to do for years: Ditch the orca shows and tanks in favor of coastal sanctuaries for the animals and cutting-edge educational experiences without live animals for attendees."

Additional reporting by Mashable.