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.

Post Office Seeks New Operator in Dinas Powys as Village Faces Loss of Its Last Branch
Gardening team praised after helping police clear fallen tree near St Brides Major
Specsavers calls on children in Barry to design Wales Deaf Rugby World Cup shirts
Whitmore High Named One of UK’s Best Workplaces for Development
Steel Signing Marks Major Milestone in St Richard Gwyn School Redevelopment
Two Rescues in Record Heat as Volunteer Teams Respond to Afternoon Emergencies
Police find evidence of a large-scale cannabis cultivation at Riverside Place property fire
Network Rail confirm closure of Brookside level crossing in Dinas Powys
Police given powers to ask people to leave Comeston Lakes Country Park
Planned children’s role play centre could be given the go-ahead by Vale Council
Marie Curie Garden Fayre deemed huge success
Council seeks views on Future of Colcot Sports Centre and Buttrills Playing Fields
First Minister quizzed on further devolution, budget decisions, and misinformation in FMQs
Extreme heat leads to changes to services and closures
Severe Heat Warning Set to Disrupt Rail Travel Across South Wales This Week
Communities asked to support older people across Wales during severe heat warning
Caribbean Community Wales Brings Wales‑Wide Launch to Barry This Weekend
Community Award winner calls for sanitary bins in men’s toilets after living with prostate‑cancer‑related incontinence
Cardiff Airport Backs Holiday Safety Campaign Honouring Rhoose Teenager Tom Channon