Article says they can hold onto your electronic devices tho. They can also probably arrest you for the legal maximum (which unlike proper jail probably won't result in you losing your living but could result in you losing money in addition to time).
They don't have to literally prevent you from entering your own country in order to make refusal to cooperate extremely unpleasant for you. Not to mention they can do this every time going forward and they can do this to other people in your group as well. Good luck proving this is harassment and not due dilligence.
But they can, and will if the trend of abuses continue, make you loose your flight, make you waste time, opportunity, and money. And put you in a list so that they do that every time your travel.