Agentic AI in the justice system: getting the foundations right TLT LLP