BATON ROUGE, La. (AP) — Attorney General Jeff Landry's office says provisions in an LGBT rights anti-discrimination order issued by Gov. John Bel Edwards have "no binding legal effect."

In April, the Democratic governor banned discrimination in state government based on sexual orientation and gender identity. State contracts also were to be required to comply, except contractors that are religious organizations.

The opinion, requested by a group of Republican lawmakers, was posted to the GOP attorney general's website Wednesday.

It says an executive order cannot create or expand state law or establish a new protected class of people that doesn't exist in law. Landry's office says Edwards' order should "be interpreted as merely aspirational."

An attorney general's opinion does not carry the force of law, but could be used to lay groundwork for a lawsuit.

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