New York Attorney General Letitia James’ surprise recommendation last week that the state Legislature consider making changes to the operations of local town and village courts has pitted the judges elected in those communities against the state’s top lawyer.

The New York State Magistrates Association, which represents those jurists, responded Monday to the Attorney General’s Office, calling its recommendations unfounded.