The Allahabad high court granted bail to Atul Gautam in a live-in rape case, conditioning it on marrying the complainant under the Special Marriage Act.