It all began with a chicken sandwich.

One restaurant in Colonial Williamsburg, Va., is headed to trial after a federal court ruled that the family of a Maryland boy with a severe gluten allergy has the grounds to seek legal action, after the establishment reportedly barred him from eating his homemade meal inside the restaurant.

A 12-year-old boy identified as J.D. was on a school field trip to Shields Tavern in the historic city in May of last year, when management of the tavern wouldn’t let the youngster eat the chicken sandwich he brought from home, Allergic Living reports.

SUBWAY MANAGER FIRED FOR ALLEGEDLY DENYING TEEN JOB BECAUSE OF HER RACE

Reps for Shields Tavern stopped him from eating the meal – as per their “no outside food” policy – and instead offered to prepare him a gluten-free dish, according to Today.

Declining the offer out of caution, J.D. and his father, Brian Doherty, who chaperoned the trip, ended up eating their homemade meals “outside in the rain.” Doherty testified that his son was left in tears and “feeling humiliated” in the wake of the ordeal, while his 60 or so classmates enjoyed their time inside, Allergic Living reports.

Now, J.D.’s family is suing the Colonial Williamsburg Foundation in response to the ordeal, claiming that Shields Tavern violated the Americans with Disabilities Act in their discriminatory decision.

Reps for the foundation returned Fox News’ request for comment with the following statement:

“Colonial Williamsburg is disappointed by the Court’s decision. We have a long and successful track record of preparing gluten free meals for our guests and believe doing so is a reasonable accommodation, as noted by the dissenting judge,” a spokesperson for the Colonial Williamsburg Foundation said on June 4. “We are analyzing the decision and considering our options.”

FOLLOW US ON FACEBOOK FOR MORE FOX LIFESTYLE NEWS

Though the case was initially dismissed, as of last week, the U.S. Court Of Appeals for the Fourth Circuit ruled it can proceed to trial and be heard by a jury, Today reports.

According to a report from the American Bar Association, Judge J. Harvie Wilkinson III was the only judge on a three-person panel to dissent.

“This is a terrible rule. It forces restaurants to allow customers to bring in food prepared off the premises, in who knows what conditions, containing who knows what ingredients,” Wilkinson wrote. “It exposes the restaurants’ patrons to public health risks, subjects the restaurants themselves to legal liability, and deprives servers of much needed tips.”

CLICK HERE TO GET THE FOX NEWS APP

Allergic Living, however, described the news as a “victory” for those on medically restricted diets.

“It’s everything. It’s the ability to participate in the things that matter: the social events, the educational opportunities — the ability to have a seat at the table,” Mary Vargas, an attorney for the boy, said of the potential impact of the court decision.