A cosmetic-surgery firm that denied breast reduction surgery to three men with HIV violated the Americans with Disabilities Act (ADA) by failing to consider the medical facts regarding each patient before deciding whether surgery could be safely performed, a judge said Wednesday.

U.S. District Judge Analisa Torres issued the written opinion against Advanced Cosmetic Surgery of New York, which has offices in Manhattan and Long Island.

The U.S. government and a New York resident, Mark Milano, filed the lawsuit in 2015, contending the business had a blanket policy of refusing surgery to anyone with a history of HIV infection.