A German court declined to extradite Carles Puigdemont to face rebellion charges in Spain, but said he could be extradited on corruption charges.