EU attacks Sri Lanka over rights