Does purchasing REs guarantee that a share will be given or is it like subscribing to an IPO?

Does purchasing REs guarantee that a share will be given or is it like subscribing to an IPO?

  •  If you have X REs, and you apply for X+Y shares. You will get X right shares since you’re eligible. For the remaining Y, there will be a lottery system similar to an IPO.