India's top court Tuesday rejected a legal attempt to block the global release of Padmavati that has sparked violent protests, warning against pre-judging the controversial historical epic.

Caste-based groups have been staging violent demonstrations against "Padmavati" amid rumours that it will depict a romance between a Hindu queen and a Muslim ruler.

The epic was scheduled for release in India on December 1 but delayed indefinitely after the censor board refused to certify it.

The Supreme Court on Tuesday dismissed a legal petition to delay its release abroad, saying nobody should pre-judge the censors before the film is classified.

"Responsible people in power and public office say certain things, and make comments on certain aspects, that violate the rule of law," declared the bench headed by Chief Justice Dipak Misra.

"We are sure they will be guided by the basic premise under the rule of law and not venture outside."

A number of officials, including state leaders from Prime Minister Narendra Modi's ruling party, had vowed to ban screenings of the film in their jurisdictions unless controversial sections were removed.

Lawyer ML Sharma, who brought the petition before the Supreme Court, had previously failed to prevent the film's release in India.

Harish Salve, representing the film's director and producer, said there was no intention of releasing the film abroad until it had received classification at home.