A Bengaluru court on Wednesday passed an ex-parte temporary injunction restraining 35 media houses from making, publishing or telecasting any defamatory statements against Sandalwood actress Ranya Rao, who is currently under investigation in a gold smuggling case.