Right on time for Oktoberfest, a court in Germany has ruled that hangovers are an illness.

A German court ruled Monday that a company manufacturing "anti-hangover" products cannot claim to alleviate symptoms of excess alcohol consumption, reported German broadcaster Deutsche Welle. Advertising its products as such, said the court, is unlawful.

The manufacturer of the alleged "hangover cure" was not named in the ruling.

"Information about a food product cannot ascribe any properties for preventing, treating or healing a human illness or give the impression of such a property," the court's statement said, per Deutsche Welle and the BBC.

The court explained its definition of an illness as "even small or temporary disruptions" to the body's normal functioning, which includes the symptoms of a hangover – nausea, fatigue, headaches and dizziness, per the Mayo Clinic.

The Food and Drug Administration has regulations that restrict companies from making similar claims about "hangover cures" in the United States.

Multiple products have emerged in recent years that tout hangover relief, including kids' electrolyte drink Pedialyte, which released a Sparkling Rush powder last year as an entryway into the adult market.

Follow Joshua Bote on Twitter: @joshua_bote