Federal prosecutors won their motion to compel the deposition of an attorney in an ongoing Federal Housing Act case Friday, allowing them to ask a court-narrowed set of questions about a landlord’s efforts to keep a chronically ill tenant from acquiring an emotion support dog in his rent controlled Upper East Side apartment.

Gregory Reich has end-stage renal disease and depression, and twice requested permission from his landlords at 111 E. 88th St. for permission to keep an emotion support dog in his home. Both requests were accompanied by medical support, with one therapist stating in a letter that denying his request would mean a serious threat to Reich’s health and life.