Court tells CBI to keep off media