Where this section applies and there is no agreement under section 303Q, the magistrates' court or sheriff—
The "relevant court" is—
Where (under subsection (1)(a) or (b)) an application made under section 303O is transferred to the relevant court, the relevant court may order the forfeiture of the property to which the application relates, or any part of that property, if satisfied that—
An order under subsection (3) made by the High Court may include provision of the type that may be included in an order under section 303O(3) made by a magistrates' court by virtue of section 303O(4).
If provision is included in an order of the High Court by virtue of subsection (4) of this section, section 303O(5) and (6) apply with the necessary modifications.
The relevant court may, as well as making an order under subsection (3), make an order—
Where (under subsection (1)(b)) the magistrates' court or sheriff decides not to transfer an application made under section 303O to the relevant court, the magistrates' court or sheriff may, as well as making an order under section 303O(3), make an order—
An order under subsection (6) or (7) may be made only if the relevant court, the magistrates' court or the sheriff (as the case may be) thinks it just and equitable to do so.
An order under subsection (6) or (7) must provide for the payment of an amount to the person who holds the associated property or who is an excepted joint owner.
In making an order under subsection (6) or (7), and including provision in it by virtue of subsection (9), the relevant court, the magistrates' court or the sheriff (as the case may be) must have regard to—
If the relevant court, the magistrates' court or the sheriff (as the case may be) is satisfied that—
an order under subsection (6) or (7) may require the payment of compensation to that person.
The amount of compensation to be paid by virtue of subsection (11) is the amount the relevant court, the magistrates' court or the sheriff (as the case may be) thinks reasonable, having regard to the loss suffered and any other relevant circumstances.
Compensation to be paid by virtue of subsection (11) is to be paid in the same way that compensation is to be paid under section 303W.