You can find how to treat this gain in the opentuition note Chapter 6 – 1.1 No control -> control, remeasure original investment to FV and gain to profit or loss.
Also, in order to classify the unrealized holding gain/loss in OCI, the investments have to be classified as available for sale.
This is only my opinion as a student, you can comment if I am wrong.