Is this a law enforcement role?

In many countries, immigration officers have enforcement powers, including the ability to detain or remove individuals.