A warrant refers to a document issued by a Magistrate which authorizes the police or another body to make an arrest, search premises, or carry out some other action relating to the administration of justice.
Under section 204 of Code of Civil Procedure 1973, the Magistrate has to powers to issue a warrant, or, if he thinks fit, a summons, for causing the accused to be brought or to appear before the court.
In your case, it seems that the police officer has been authorized to make you appear before the Magistrate and for the same reason, the police are bound to follow the orders and make an arrest for you to be presented before the Magistrate.
Hope I was able to solve your query!
Thanks & Regards