It wouldn’t be the NY judiciary putting a stop to it. There is simply no legal way for anyone other than the governor to issue a pardon or clemency in the state cases, no matter what a president or anyone else may want.
What happens if the NY Supreme Court rules the pardon is valid?