'A' an officer of a court of justice, being ordered by that court to arrest 'Y', and after due enquiry, believing 'Z' to be 'Y', arrests 'Z'. 'A' has committed:
1
An offence of wrongful confinement
2
An offence of wrongful restraint
3
An offence of criminal trespass
4
No offence