Maybe, maybe not.
relevant legal information in warranty:
This Warranty does not apply:
(j) if Apple receives information from relevant public authorities or registries that the product has been stolen or if you are unable to deactivate passcode-enabled or other security measures designed to prevent unauthorized access to the Apple Product, and you cannot prove in any way that you are the authorized user of the product (e.g., by presenting proof of purchase). To the extent permitted by local law, Apple may provide hardware identifier information from the Apple Product to such authorities or registries for security and fraud prevention purposes.