As police departments across the country increasingly come under federal pressure amid accusations of racially biased practices, law firms are vying for the job of enforcing the U.S. Department of Justice’s prescription for change.

But those roles, which entail garnering respect from the public, local politicians and the police departments in question, are often highly scrutinized and are not necessarily all that lucrative when it comes to sought-after client engagements.