Yes. Your rights do not include entering Greenland illegally. They do include things like being given food and water in prison until you are deported.