Inside the administration , the debate over the military commissions was rigorous , with Obama eventually siding with the generals and other military officials who feared that bringing some detainees before regular courts would present enormous legal hurdles and could risk acquittals .