The “lawyer ban” is back.

The Appellate Division, First Department court ruled on Tuesday that a judge erred when he imposed a preliminary injunction on parts of the ban, which after being instituted last summer barred lawyers representing clients in litigation with Madison Square Garden Entertainment Corp. from entering the company’s famed venues, such as The Garden itself and Radio City Music Hall.