A judge in the Netherlands has upheld a new law to ban foreign tourists from entering cannabis cafes.

While soft drugs are tolerated, there is growing concern at tourists visiting just for drugs, and foreign dealers selling illegally at home.

The ban is due to start in three southern provinces next month, and go nationwide by the end of the year.

A group of cafe owners argued at The Hague district court that the ban was discriminatory against foreigners. Under the new law, Dutch residents will still be allowed into the cafes, as long as they have valid identification, or possibly hold a new “weed pass”, which is also being debated. There are about 700 coffee shops, as they are called, in the Netherlands. The cultivation and sale of soft drugs through them is decriminalised, although not legal; police generally tolerate possession of up to five grams of cannabis.