You shouldn't be in trouble.
Just _do not_ let anyone take your dog without a warrant.
If they do take it with a warrant what generally happens is the dog gets taken to a 'training' center which assess its aggression. If your dog shows no aggression towards the staff then it would obviously coincide with your story meaning your dog wouldn't be to blame.
Happened a few times to us when people trespass on our property. We have 4 dobermans
Get advice and answers to your Qs here