A Bronx judge on Monday decided that New York should offer all state prison and prison inmates the Covid vaccine — calling the gathering’s previous qualification rejection “unfair and unjust.”

The choice by Bronx Supreme Court Justice Alison Tuitt came that very day that state authorities declared all grown-ups more than 30 will be qualified to pursue and get the COVID-19 punch by Tuesday — and everyone 16 years and more seasoned can get the shot one week from now.

“This choice by the Respondents to avoid these detained people from qualification for the vaccine was irrefutably self-assertive and fanciful, particularly considering the way that Respondents endorsed vaccinations for any remaining assemble living offices, including juvenile detention offices,” Tuitt wrote in her ruling.

“This was an unfair and unjust choice by Respondents, was not situated in law or certainty and was a maltreatment of discretion.”

The ruling was essential for a claim brought against the state by two Rikers Island inmates, Charles Holden, 52, and Alberto Frias, 24.

The two men say in the suit, which was documented a month ago, that they were never offered vaccinations.

Yet, Tuitt noted in her ruling, Holden has since gotten qualified to get a shot as the state’s age qualification edge has changed.

“Nonetheless, starting today, Petitioner Frias and other imprisoned people younger than 30 years old are as yet not qualified for the vaccine, despite that they are being held in assemble settings,” Tuitt wrote.