Yes bank Average price

I had few shares locked in at price of 25 in zerodha.
But today on allotment of 1000 at 12. My average price is shown in zerodha kite as 16 for 1000 shares. Shouldn’t the new shares be treated as different ISIN.
FIFO will be considered or shares bought at 12 will be sold with buy price as 12 and ignore the KITE avergae price?

FIFO will be considered, Shares bought earlier will be first to be debited from your Demat account, but if those shares are locked in, then those alloted to you at Rs. 12 will be sold.