take painsto put a lot of effort into doing something
Yes. His lawyer took great pains to bring that out.