The order also bans city officials from inquiring about an individual’s immigration status unless legally forced to do so.