DHAKA, Bangladesh — Two days after the authorities in Bangladesh gave in to pressure from Islamist groups and ordered the removal of a statue from the country’s Supreme Court, they flip-flopped on Sunday, ordering that the statue be put back up, albeit in a less prominent location.

The government’s vacillation over the statue of a blindfolded woman holding the scales of justice shows the pressure it faces from the Islamist group, Hefazat-e-Islam, which has become bolder and more demanding.

Though Bangladesh’s Constitution, adopted in 1972, declares it a secular country, more than 90 percent of its population is Muslim. Large areas of rural Bangladesh are embracing conservative Islam, and the country’s secular intellectual class is receding from public prominence.

Hefazat had demanded the removal of the stainless-steel statue, which was erected five months ago in Dhaka, the capital, on the grounds that representations of the human form are forbidden by Islam. Around midnight on Thursday, workers arrived to take it down, apparently hoping to avoid public scrutiny.