FRANKFORT, Ky. (AP) - A judge has ruled Kentucky lawmakers broke the law when they held a private meeting to discuss changes to the state's public pension system.

The House of Representatives held a closed-door meeting in August to discuss the state's struggling pension plan. Lawmakers justified the private meeting by calling it a gathering of the Republican and Democratic caucuses, which are exempt from the open meetings law.

RELATED: Gov. Bevin signs pension reform bill into law, AG Beshear files lawsuit

Franklin County Circuit Judge Thomas Wingate rejected that argument in an opinion issued last week. He said any exceptions to the state's open meetings law did not apply because the gathering consisted of a public agency with a quorum of members of both majority and minority parties present to discuss public business.

RELATED: "Pension is a promise"; KY teachers protest after lawmakers pass pension bill

Acting House Speaker David Osborne said the majority caucus still believes its decision was solid.