Massachusetts' highest court has sided with environmental groups that sued the state for failing to adopt strict limits on greenhouse gas emissions.

The Massachusetts Supreme Judicial Court on Tuesday ruled the state hasn't met the requirements of the 2008 Global Warming Solutions Act.

Lawyers for the Conservation Law Foundation and four Boston and Wellesley teenagers had asked the courts to rule that the state hasn't lived up to the law. They say the law requires the Department of Environmental Protection to set strict greenhouse gas emissions limits to help the state meet its goal of reducing emissions by 25 percent by 2020.

Lawyers for the state had argued the requirements have been met, saying the law only calls on the DEP to set "a desired level of declining" emission limits.