Mexico's ministry of foreign affairs, which for years has quietly promoted illegal entry into the U.S., is now warning those in the country without documentation to refuse to talk to or even open their door to immigration officials.

The ministry has published an infographic video "to advise Mexican illegal aliens in the United States how to prepare for possible detention by immigration authorities," according to a review of it by the Center for Immigration Studies.

The key advice: Keep immigration officials at bay and call a lawyer if they come knocking.

The advice includes carrying proper documents if immigrants have them and to register children born in the U.S. as Mexicans, presumably to make sure their children go with them if they are deported.

CIS expert Kausha Luna did the analysis and provided other advice in "Recommendations in Case of Immigration Detention:"

If authorities come to your home:

— Do not run away.

— Do not open the door and stay calm.

— Do not reveal your immigration status.

— Ask what they are there for.

— Request an interpreter if you need it.

— Ask that they show you the warrant of arrest and/or removal through the window, check that it has your name, address, and signature of the judge.

— If they do not have a court order you can refuse to let them in.

If the authorities enter your home without a warrant of arrest and/or removal:

—Ask for names and badge numbers, tell them that you do not consent to the search.

If the authorities detain you:

— Remain silent.

— Do not reveal your immigration status.

— Ask to speak with your nearest Mexican consulate.

— Contact your lawyer.

— Don't sign anything.

— Find out who arrested you.

— Request an interpreter if you need it.

— Do not lie.

— Do not hand in forged documents.

Paul Bedard, the Washington Examiner's "Washington Secrets" columnist, can be contacted at pbedard@washingtonexaminer.com