Published: May 09, 2011 9:47 PM EDT
Updated: May 09, 2011 6:48 PM EDT

TALLAHASSEE, Fla. (AP) - The 1st District Court of Appeal says legislators can't be sued to challenge laws on grounds they didn't get enough votes.

Monday's ruling came in a lawsuit by cities, counties and school boards.

They sued House Speaker Dean Cannon and Senate President Mike Haridopolos over a law making it easier to challenge impact fees in court.

Local governments claimed the law was invalid because it didn't pass by two-thirds in each chamber as required for changing court practices.

The judges ruled lawmakers cannot be sued because the challenge also went to the law's substance, not just how it was passed. They said agencies that enforce the law should have been sued.

The Legislature, though, has passed an identical bill by more than two-thirds. It's awaiting action by Gov. Rick Scott.

(Copyright 2011 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)