That is correct. It displays a message and does not allow them to check out. It will also display a message on the cart page if they enter an address to get a shipping quote. It is based on the shipping address which is usually not known until after they have added items to their cart.
Though it usually possible to determine country based on IP address, there are issues with this including those shopping outside of the country who may want to ship items domestically such as military personnel.