Refugee board’s faith-based ruling ‘ludicrous,’ judge says