More likely they'd just send you home. Either way, denying people entry is bad for business and tourism. If enough people want to protect their accounts when they travel, countries will have to weigh the trade-offs.
Sure, it is bad for business. It will likely be used disproportionately on brown people and minorities, just like "random" screenings at the airport. Yes, bad for tourism, but only consistently bad for a minority of the population and most others just have to take of their shoes etc.