Desperate migrants eager to cross into Hungary now face not only a razor-wire fence but also authorities ready to jail them.