The judge told Thomas Stevens that his plan that backfired was 'incredibly stupid'