Army gets judicial powers for census