Nineteenth Judicial District Court Judge Todd Hernandez, of Baton Rouge, ruled that Edwards exceeded the scope of his authority with his executive order protecting lesbians, gays, bisexuals and transgender.