A judge blasted Manhattan District Attorney Alvin Bragg for trying to throw the book at two New Yorkers who bought fake COVID-19 vaccine cards — despite routinely going easy on others charged with far more serious crimes.

In a ruling issued this week, state Supreme Court Justice Brendan T. Lantry dismissed felony charges against the pair, who were not publicly identified, calling the case overkill.