In a stunning ruling, the judge, Aileen M. Cannon, found that because Mr. Smith had not been named to the post…