Depends on the wording of the warrant.
Depends on the circumstances.
Depends.
Depends.
Depends.
Now tell us what happened to you and what the circumstances were and maybe you'll get some helpful comments.
By the way, the word "can" denotes the ability to do something, not whether it's done rightly or wrongly.