There is no law when entering the country. They can do everything they want, or making up anything they'll imagine.