Those groups argued that the government has an obligation under a 2008 anti-trafficking law to provide vulnerable children with legal counsel