[F79 (1)Subsection (2) applies in proceedings in which the court is considering whether to make provision about one or more of the matters mentioned in subsection (1A) by making—
(a)a child arrangements order with respect to the child concerned, or
(b)an order varying or discharging a child arrangements order with respect to the child concerned.
(1A)The matters mentioned in this subsection are—
(a)with whom a child is to live,
(b)when a child is to live with any person,
(c)with whom a child is to spend time or otherwise have contact, and
(d)when a child is to spend time or otherwise have contact with any person.
(2)The court may make an activity direction in connection with the provision that the court is considering whether to make.
(2A)Subsection (2B) applies in proceedings in which subsection (2) does not apply and in which the court is considering—
(a)whether a person has failed to comply with a provision of a child arrangements order, or
(b)what steps to take in consequence of a person's failure to comply with a provision of a child arrangements order.
(2B)The court may make an activity direction in connection with that provision of the child arrangements order.
(3)An activity direction is a direction requiring an individual who is a party to the proceedings concerned to take part in an activity that would, in the court's opinion, help to establish, maintain or improve the involvement in the life of the child concerned of—
(a)that individual, or
(b)another individual who is a party to the proceedings.F79]
(4)The direction is to specify the activity and the person providing the activity.
(5)The activities that may be so required include, in particular—
(a)programmes, classes and counselling or guidance sessions of a kind that—
(i)may assist a person as regards establishing, maintaining or improving [F80 involvement in a child's lifeF80] ;
(ii)may, by addressing a person's violent behaviour, enable or facilitate [F81 involvement in a child's lifeF81] ;
(b)sessions in which information or advice is given as regards making or operating arrangements for [F82 involvement in a child's lifeF82] , including making arrangements by means of mediation.
(6)No individual may be required by [F83 anF83] activity direction—
(a)to undergo medical or psychiatric examination, assessment or treatment;
(b)to take part in mediation.
(7)A court may not on the same occasion—
(a)make [F84 an activity direction under subsection (2) F84] , and
(b)dispose finally of the proceedings as they relate to [F85 the matters mentioned in subsection (1A) in connection with which the activity direction is madeF85] .
(8)[F86 Each of subsections (2) and (2B)F86] has effect subject to the restrictions in sections 11B and 11E.
(9)In considering whether to make [F87 anF87] activity direction, the welfare of the child concerned is to be the court's paramount consideration.F78]
[F88 (7A)A court may not on the same occasion—
(a)make an activity direction under subsection (2B), and
(b)dispose finally of the proceedings as they relate to failure to comply with the provision in connection with which the activity direction is made.F88]