At the foot of the Pyrenees near the border with Spain is the city of Perpignan, formerly a fortified town that still retains some of its old buildings.