The judgement by Punjab and Haryana High Court ends a three-year-old dispute between the guru's disciples and Dalip Kumar Jha, who claims to be his son.
Mr Jha had sought permission to cremate the guru's body, in line with Hindu rituals.
In rejecting his plea, the court set aside a 2014 judgement that had ordered the guru's cremation after doctors confirmed him clinically dead.
Mr Jha's lawyer told AFP it was unclear whether the court had agreed with the sect's argument that its founder was alive.
Mr Maharaj first established his sect in Jalandhar, Punjab, in 1983, to promote "self-awakening and global peace".
Over years, it attracted millions of followers across the world and amassed properties worth an estimated $120m (£92m) in India, the US, South America, Australia, the Middle East, and Europe.
The heavily-guarded 100-acre ashram in Punjab where the guru has been kept is just one sign of his vast financial assets.
Mr Jha has accused the guru's disciples of retaining his body as a ploy to keep control of his wealth.
Shortly after his death in 2014, the guru's spokesman Swami Vishalanand told the BBC: "He is not dead. Medical science does not understand things like yogic science. We will wait and watch. We are confident that he will come back."
About 100 government supporters have burst into Venezuela's opposition-controlled National Assembly, where they beat up several lawmakers.
Witnesses said the confrontation came after an assembly session to mark the country's Independence Day.
Military police guarding the site stood by as intruders brandishing sticks and pipes broke through the gate, AFP said. The government vowed to investigate.
About 350 people were besieged for hours, the assembly's speaker said.
Julio Borges said on Twitter that 108 journalists, as well as students and visitors, were among those stuck inside.
Mr Borges also named five of the lawmakers injured. Some were taken away for medical treatment.
Venezuela has been shaken by often violent protests in recent months and is in economic crisis.
"This does not hurt as much as seeing every day how we are losing our country," deputy Armando Armas told reporters as he got into an ambulance, his head swathed in bloody bandages.
The US state department condemned the violence, calling it "an assault on the democratic principles cherished by the men and women who struggled for Venezuela's independence 206 years ago today".
Witnesses said several journalists and two assembly staff were also hurt.
Venezuelan newspaper Tal Cual blamed the attack on militias known as "colectivos", and said the group had fired rockets and bangers as they forced their way in.
Its report said some of the deputies attacked "fell to the ground and were kicked".
Photos and videos circulating on social media showed victims of the assault with bleeding head wounds. At least one, believed to be deputy Americo De Grazia, was carried out on a stretcher.
AFP, whose journalists were at the scene, said reporters were ordered to leave by the attackers, one of whom had a gun.
The violence unfolded while President Nicolás Maduro was giving a speech at a government-planned Independence Day military parade elsewhere in the capital.
Before the intruders rushed the building, Vice-President Tareck El Aissami made an impromptu appearance in the congress with the head of the armed forces, Vladimir Padrino Lopez, and ministers.
Mr El Aissami gave a speech urging the president's supporters to come to the legislature to show support for him.
A crowd had been rallying outside the building for several hours before breaking into the grounds.
In a statement via the ministry of communication, the government said it "condemns the alleged acts of violence in the gardens of the Federal Legislative Palace".
"The national government has ordered the investigation of the aforementioned acts of violence to establish the whole truth, and on that basis, to apply sanctions to those responsible," it said.
What's happening in Venezuela?
The country is in a deep economic crisis, made worse by the falling price of oil, which accounts for about 95% of its export revenues and was used to finance some of the government's generous social programmes. Forced to make cuts, Mr Maduro has seen his support fall among core backers
Also, as a result of the crisis, parts of Venezuela face severe shortages of basic supplies such as medicine and food
The opposition accuses Mr Maduro of not only mismanaging the economy but also eroding the country's democratic institutions
In March, the Supreme Court decided it would take over the National Assembly. The decision was reversed, but Mr Maduro was accused by opponents of trying to stage a coup. That sparked almost daily protests calling for his resignation
Meanwhile, Mr Maduro says the opposition is trying to overthrow his government illegally, and blames the country's problems on an "economic war" being waged against him
Venezuela's National Assembly has been led by the opposition since elections in December 2015, and has become a focal point for critics of the president.
Anti-Maduro protesters have staged nationwide street protests against the government over the past three months which have seen violent clashes between demonstrators and the security forces.
At least 90 people have died in the bloodshed, with both political factions blaming each other.
The charges filed against Luisa Ortega Díaz came after she challenged President Maduro's reform plans.
She says she is being legally pursued for defying the president, but the Supreme Court, which is dominated by government loyalists, says Ms Ortega has committed serious errors.
Last week, Ms Ortega strongly criticised President Maduro after an incident in which a stolen police helicopter flew over Caracas, dropping grenades and firing shots.
The charges filed against Luisa Ortega Díaz came after she challenged President Maduro's reform plans.
She says she is being legally pursued for defying the president, but the Supreme Court, which is dominated by government loyalists, says Ms Ortega has committed serious errors.
Last week, Ms Ortega strongly criticised President Maduro after an incident in which a stolen police helicopter flew over Caracas, dropping grenades and firing shots.
The president called it a "terrorist attack" but Ms Ortega said the country was suffering from "state terrorism".
While Venezuelan security forces later found the abandoned helicopter near the coast, opposition politician and parliamentary speaker Julio Borges said there was a possibility that the incident was a hoax.
On Tuesday, the fugitive policeman who piloted the helicopter, Oscar Pérez, posted a video online saying he was still in Caracas.
He urged Venezuelans to stand firm in the streets in protests against President Maduro.
Ms Haley said on Wednesday that North Korea's test launch of an intercontinental ballistic missile (ICBM) was "quickly closing off the possibility of a diplomatic solution".
"The United States is prepared to use the full range of our capabilities to defend ourselves, and our allies," she told the UN Security Council, which met for an emergency session to discuss the test.
"One of our capabilities lies with our considerable military forces. We will use them, if we must, but we prefer not to have to go in that direction," she said.
Ms Haley, who said she discussed the issue with the president, said the US could cut off trade with countries which continued to trade with North Korea in violation of UN resolutions.
"We will look at any country that chooses to do business with this outlaw regime," she says.
Mr Trump has arrived in Warsaw where he is due to meet Chinese President Xi Jinping for the second time. He will later travel to Hamburg for the G20 summit, where world leaders are expected to discuss the missile test.
The French ambassador told the UN Security Council that France also favours a new resolution on North Korea, which would tighten sanctions.
Russia, which condemned the test, said the possibility of using military measures "should be excluded".
China's representative said North Korea's actions were unacceptable, but also repeated China and Russia's call for all involved to stand down.
They have proposed that while North Korea halts its missile and nuclear programmes, the US and South Korea freezes their joint military exercises and also reverse plans to deploy a controversial anti-missile system in the South.
Both Russia and China are permanent members of the UN Security Council and could veto any new resolution.
What has North Korea said?
Tuesday's launch was North Korea's first-ever test launch of an intercontinental ballistic missile (ICBM).
State news agency KCNA quoted leader Kim Jong-un as saying the test was a "gift" to the Americans on their independence day.
The report warned of the possibility of more tests, saying he had ordered officials to "frequently send big and small 'gift packages' to the Yankees".
It comes as interior ministers from the 28-member bloc are meeting in Tallinn, Estonia, to discuss the migrant crisis.
They will review a $92m (£71m) action plan unveiled by the European Commission to deal with the issue.
The commission proposes to use more than 50% of the funds to boost the Libyan coastguard's capacity to stop traffickers launching boatloads of migrants out to sea to be rescued.
The rest is to help Italy feed, house and process the migrants who get there.
"Rather than acting to save lives and offer protection, European ministers... are shamelessly prioritising reckless deals with Libya in a desperate bid to prevent refugees and migrants from reaching Italy," said John Dalhuisen, Amnesty's Europe director.
"European states have progressively turned their backs on a search and rescue strategy that was reducing mortality at sea in favour of one that has seen thousands drown and left desperate men, women and children trapped in Libya, exposed to horrific abuses," he said.
Amnesty's report said measures implemented by the EU to strengthen search and rescue in the central Mediterranean in 2015 had dramatically decreased deaths at sea.
But this priority was short-lived, the document said, adding that the EU later shifted its focus to disrupting smugglers and preventing departures from Libya.
Such practices and an increasing use of unseaworthy boats had made the sea even more unsafe, Amnesty said.
Interceptions by the Libyan coastguard often put refugees and migrants at risk, the rights group warned.
It said that there were serious allegations that coastguard members were colluding with smugglers and abusing migrants.
"If the second half of this year continues as the first and urgent action is not taken, 2017 looks set to become the deadliest year for the deadliest migration route in the world," Mr Dalhuisen said.
"The EU must rethink its co-operation with Libya's woefully dysfunctional coastguard and deploy more vessels where they are desperately needed."
Mr Dalhuisen stressed that "ultimately the only sustainable and humane way to reduce the numbers risking such horrific journeys is to open more safe and legal routes for migrants and refugees to reach Europe".
note on terminology: The BBC uses the term migrant to refer to all people on the move who have yet to complete the legal process of claiming asylum. This group includes people fleeing war-torn countries such as Syria, who are likely to be granted refugee status, as well as people who are seeking jobs and better lives, who governments are likely to rule are economic migrants.