Replace section 5A with:
(1)
This section applies if—
an application is made to the court for—
a guardianship order under section 19 or 27; or
a direction under section 46R in relation to a guardianship dispute; or
a parenting order under section 48 (whether an interim parenting order or a final parenting order); or
a variation of a parenting order, under section 56; and
1 or both of the following kinds of orders made under section 79 of the Family Violence Act 2018 is or are, or at any time has or have been, in force against 1 or more parties to the application:
a temporary protection order:
a final protection order.
(2)
In taking into account the principle in section 5(a), the court must have regard in particular to the following matters:
whether a temporary protection order, or final protection order, is still in force:
the circumstances in which that order was made:
any written reasons, given by the Judge who made that order, for that Judge’s decision to make that order.
(3)
In taking into account the principle in section 5(a), the court must, if practicable, have regard in particular to—
all relevant convictions (if any), of 1 or more parties to the application, for an offence against section 112 of the Family Violence Act 2018 (breaching a protection order or related property order), or for any other family violence offence:
all relevant safety concerns (if any) that an assessor or a service provider has notified or advised under section 185 or 204 of the Family Violence Act 2018.
(4)
In this section, family violence offence means an offence—
against any enactment (including the Family Violence Act 2018); and
involving family violence (as defined in section 9 of that Act).