What sort of fucking shithole backwards country locks people up for weeks (including over a week in solitary!) for arriving with an invalid visa? If you think that is a proportional response you are a nasty, nasty person.
One that has individuals in government with a history advocating for private prisons where most undocumented immigrants are housed. 6 weeks probably leads to some solid profits for the bottom line.