This doesn't make sense as a sentence. Surely the Netherlands has a justice system and prisons, and surely those people in prison are there because they were convicted of doing something illegal. So it stands that you can and will be punished in the Netherlands for doing something illegal.