If you get a ballot code, that doesn't mean you're guaranteed a ticket. It just means you can try to buy one. Tickets are still sold on a first-come, first-served basis. If you don't get a ballot code, you won't be able to buy a ticket.