Amsterdam has banned beer bikes amid complaints about rowdy tourists being drunk and disorderly.
A court ruling on Tuesday allowed officials to prohibit their use in the centre of the Dutch city, calling the contraptions a "public order problem".
The bicycles are a popular way for tourists celebrating group events, such as stag parties, to travel around Amsterdam.
Critics say they have become an example of the problems caused by mass tourism.
The beer bikes are small carts that have been modified with bicycle seats arranged around a bar table.
Patrons power the bike as they pedal beside the city's famous canals, while drinking beer.
The ban came into force on Wednesday. A spokesman for the City Hall said operators were no longer allowed to rent out the bikes.
It comes after the Amsterdam District Court said "the beer bicycle may be banned from the city centre to stop it from being a nuisance".
Last year, about 6,000 locals signed a petition calling on the council to ban the bikes, calling them a "terrible phenomenon".
At the time, one resident told NOS news: "Our city has become a giant attraction park."
Few will miss inebriated foreigners
By Anna Holligan, BBC News
You normally hear them before you see them.
For some tourists these cumbersome contraptions offer the perfect way to see the city. Combining two of its attractions - alcohol and cycling.
They're especially popular with stag dos. Drunken men spilling beer while trying to navigate the narrow streets on wheels have become a familiar sight in the historic heart of the city.
For many residents they've become a symbol of the trouble associated with 'the wrong type of tourism'. The council recently announced plans to increase hotel taxes to try to reduce the number of budget travellers.
The Dutch are famous for their cycling culture but few will miss the inebriated foreigners who commandeer these novelty vehicles, sometimes at the expense of those who use bikes as a practical and sensible way to get on with life.
Amsterdam's late mayor, Eberhard van der Laan - who died last month - agreed with the residents and instituted a ban on the bikes.
This was challenged in court last year by four beer bike operators, who said that the city was "imposing on people's freedom".
Judges struck down the mayor's ban at the time, saying that it was not properly motivated.
In a ruling on Tuesday, however, the judges at the Amsterdam District Court agreed with the ban.
"The combination of traffic disruptions, anti-social behaviour and the busy city centre justifies a ban," they said.
Have you taken a ride on a beer bike? Or do you live in Amsterdam? E-mail us at email@example.com your experiences.
You can also contact us in the following ways: