The Kerala High Court on Friday directed the Central Bureau of Investigation (CBI) to immediately take over the investigation into the Tanur custodial death case, wherein one Tamir Jifri died after allegedly undergoing custodial torture at the hands of the Kerala police.