Khan, Dutt face the court

One Bollywood actor has been released from jail just as another enters it.

Salman Khan, whose “Marigold” is in theaters now, is in a Rajasthan jail for poaching endangered black deer after a judge rejected his appeal on Wednesday. Meanwhile, Sanjay Dutt has been released on a technicality on a weapons conviction relating to the 1993 Mumbai bomb blasts.

After Rajasthan High Court rejected his appeal in the 9-year-old poaching case, Khan was taken to a jail in Jodhpur, where he is scheduled to spend the weekend. He may appeal to a higher court on Monday to have his five-year sentence overturned.

He is also facing charges stemming from a hit-and-run in 2002 when one homeless man in Mumbai was killed and three others injured. He has pleaded not guilty in that case.

Among pics with which Khan is involved are Sony’s “Saawariya,” directed by Sanjay Leela Bhansali, now in post-production; and Rumi Jaffrey-directed “God tussi great ho,” which he toplines with Amitabh Bachchan. His “Partner,” released earlier this year, was a hit.

Meanwhile, Dutt was temporarily freed on a technicality from a facility in Pune, near Mumbai, on Sunday after serving just 24 days of a six-year sentence because the court that tried him didn’t give him a copy of the sentence. He will get the papers Sept. 27.

According to published reports, films worth 1 billion rupees ($24.4 million) are riding on Dutt, star of the hugely popular “Munnabhai” pics.

Unfinished projects include “Dhamaal,” directed by Indra Kumar; Sanjay Gadhvi’s “Kidnap”; and Sanjay Gupta’s “Alibaug,” on which he’s a co-producer.

Thesp’s rep said he will spend time with his family before deciding whether he will resume shoots.

Follow @Variety on Twitter for breaking news, reviews and more