For 17 years, a South Florida couple grew vegetables in a front-yard garden until a new town ordinance was passed limiting such gardens to backyards. Now, the couple is asking a judge to uproot the ban they claim violates their constitutional rights.

Tom Carroll and Hermine Ricketts say they dug up the garden in front of their Miami Shores home in August 2013 when town officials threatened to fine them $50 a day if they didn't. The threatened fine came a few months after the Miami Shores Village Council adopted a new zoning plan for the town of about 10,500 north of Miami.

The couple sued, and at a hearing Wednesday their attorney said the ban violates the Florida Constitution in several ways, including improper limits on their private property rights and violation of the equal protection clause by singling out vegetables over other plants.

"We're not saying you can do anything you want on your property," attorney Ari Bargil told Miami-Dade Circuit Judge Monica Gordo. "We are simply saying you can grow vegetables on your property and that is protected by the Constitution."

Richard Sarafan, attorney for Miami Shores, said the new zoning rule was not irrational and treated all homeowners the same: their front yards should be covered with grass, sod or a "living ground cover" not further defined. It's no problem, he said, to have a vegetable garden in the backyard.

"There certainly is not fundamental right to grow vegetables in your front yard," Sarafan said. "Aesthetics and uniformity are legitimate government purposes. Not every property can lawfully be used for every purpose."

Carroll, who attended the hearing, said the couple sought to grow produce using organic practices, such as no use of pesticides. He said he had never gotten a complaint from a neighbor in all the years he tended the garden, which grew some 75 varieties of vegetables.

"It's important that we have the right to do something on our own property," Carroll said. "We're just trying to grow vegetables."

The couple is being represented by lawyers from the Arlington, Virginia-based Institute for Justice, which describes itself as a Libertarian nonprofit organization that focuses on issues such as private property rights, school choice and free speech.

Gordo did not immediately rule. Both sides said the judge could decide the matter without a trial, but either way the case is likely to be appealed, attorneys said.