Portugal has several thorny issues to contend with after Germany secured big wins at the end of its presidency.