A prolific thief has been banned from the Holton Road area of Barry for three years.
Cardiff magistrates heard Joshua Smith regularly entered local shops with no intention of buying any goods.
The 24 year-old from Cadoxton was spotted by police officers becoming aggressive and confrontational when he was challenged.
In court, Smith, who was recently convicted of three thefts and one attempted theft, was given a three-year criminal behaviour order.
It means he is banned from three supermarkets in town - namely Asda, Morrisons and Iceland - as well as the One Stop Shop on Broad Street.
He can only enter Holton Road for pre-arranged medical or support service appointments
Smith has also been banned from housing offices at Junction House in Hood Road, Ellis Fisher Court in Broad Street and Ty'r Gyfraith in Greenwood Street.
The court heard the order was necessary to prevent crime and protect the community at large from "continued distress, disruption and potential harm".
PC Adrian Muscat, an anti-social behaviour co-ordinator said South Wales Police "works closely with retailers and businesses to protect them from crime and anti-social committed by individuals like Joshua Smith."
"Shoplifting can have a devastating impact on shopworkers and retailers. This case demonstrates our commitment to tackling retail theft and supporting the industry."
The force says it's adopted a wider approach to tackle an increase in shoplifting in Cardiff and the Vale, meeting with retailers and businesses to improve intellgience sharing, leading to the arrests of prolific offenders and others profiting from retail theft.

Vueling withdraws winter flights to Aicante this winter
Playground in Barry forced to close after fire damages equipment
Campaigners Take Fight for Fairer Pathways in Welsh Women’s Football to Parliament
Vale Councillor Gwyn John Launches His First Novel at Llantwit Major Book Signing
Pink poppy display commences with celebration of life
Former Barry office block converted into new homes for people at risk of homelessness
Welsh Government publishes independent report on Level 4 intervention at Cardiff and Vale UHB
Three CoastSnap stations set to be installed along the Glamorgan Heritage Coast
Daffodil Runner statue installed at Marie Curie Hospice in Penarth
Woman Dies After Incident in Leckwith as Police Investigation Continues
Vale entrepreneur wins national Innovate UK award for sustainable construction technology
Cardiff Airport retains top accessibility rating as regulator reports record demand for assistance
Open Doors event to showcase hidden world of Glamorgan Archives
New details have emerged of a new tree-lined public square that will replace a traffic dominated junction
Dyffryn Gardens’ Edwardian rose garden blooms again after decade-long restoration
Barry’s Own Daniel White to Walk 190 Miles Back to Where His Round Table Story Began
1,300 people attend Flying Start Family Fun Day
Dispersal order put in place to tackle anti-social behaviour
Interim Chief Executive Appointed at Cardiff and Vale University Health Board
Cardiff Theatre Marks 50 Years of Service for Long‑Standing Staff Member