WASHINGTON (AP) — The National Park Service says it is taking the extraordinary step of dipping into entrance fees to pay for staffing at its highly visited parks in the wake of the partial government shutdown.

P. Daniel Smith, deputy director of the service, said in a statement Sunday that the money would be used to bring in staff to maintain restrooms, clean up trash and patrol the parks. He acknowledged that the Trump administration’s decision to keep the parks open during the weekslong budget impasse was no longer workable and so more extreme measures were warranted.

Parks have been relying on outside help for security and upkeep.

“We are taking this extraordinary step to ensure that parks are protected, and that visitors can continue to access parks with limited basic services,” Smith said.

Bill Clark via Getty Images Garbage overflows a trash can on the National Mall across from the White House on Tuesday, Jan. 1, 2019. The National Park Service, which is responsible for trash removal, hasn't been operating due to the government shutdown.

Republican Sen. Steve Daines of Montana warned Interior Secretary David Bernhardt on Saturday of “significant risk to property and public health” without funding. Three Utah Republican congressmen also asked Bernhardt to restart regular operations.

Democrats want the parks fully opened. But Rep. Betty McCollum of Minnesota, the incoming chair of the subcommittee overseeing Interior appropriations, said Sunday that dipping into user fees was “not acceptable” in this situation, and likely violates the law.

Parks supporters called the administration’s move misguided.

“Instead of working to reopen the federal government, the administration is robbing money collected from entrance fees to operate our national parks during this shutdown,” said Theresa Pierno, president and CEO for the National Parks Conservation Association. “For those parks that don’t collect fees, they will now be in the position of competing for the same inadequate pot of money to protect their resources and visitors. Draining accounts dry is not the answer.”

HuffPost readers: Are you affected by the government shutdown? Email us about it. If you’re willing to be interviewed, please provide a phone number.