The practice of barring attorneys from Madison Square Garden and Radio City Music Hall when they represent clients embroiled in litigation against the venues’ owner may be illegal, New York Attorney General Letitia James’ office warned on Wednesday.

Madison Square Garden Entertainment Corp. uses facial recognition to identify the targeted attorneys, and preventing their access to the venues could be a violation of local, state, and federal human rights laws, including laws that prohibit retaliation, James’ office said.