French police said they had arrested a man who had been holed up in a museum in the town of Saint Raphael by the French Riviera.