Eight women and 17 children of the group of 31 had already been released.
The six male Rohingyas were released on Wednesday night after the Rohingya Refugee Committee (RRC), an organisation working for Rohingyas in the country, furnished their bail bonds.
The RRC had paid the bail amount for the eight women and 17 children and they were released from the Bishalgarh Central Jail on Tuesday.
The court had granted bail to the women and children on January 22 and sent the remaining six Rohingya men to judicial custody for 14 days.
However, the women and children had to remain in jail as no one appeared to pay their bail amount.
The 31 Rohingyas, who had apparently come from Jammu and Kashmir, were stuck in a no-man's land beyond the barbed wire fence along the India-Bangladesh border in Tripura since January 18.
The Border Security Force (BSF), after consulting with the Union Home Ministry, had handed them over to the Amtoli police station in West Tripura district on January 22. They were later produced before the court.
Debnath, who had appeared in court on behalf of them, sought their bail on the grounds that they could not be treated as illegal immigrants because India was a signatory to the resolutions of the United Nations High Commissioner for Refugees (UNHCR).
He also pleaded before the court that there would be no one to look after the innocent children in the absence of their mothers.
The court granted bail to the women and children, but as no one appeared to furnish the bail bonds, they were sent to the Bishalgarh Central Jail. The male Rohingyas were also lodged in the same jail.
The situation of the 31 Rohingyas had led to a blame game between the BSF and its counterpart in Bangladesh, the Border Guards Bangladesh (BGB), with the two sides accusing each other of pushing them into their territories.
The decision to hand over the Rohingyas to the Tripura Police was taken after the BSF and the BGB failed to reach a decision during several rounds of talks on the issue.
Security forces had apprehended 12 and 62 Rohingyas in Tripura in 2017 and 2018 respectively.
In October 2017, the Ministry of Home Affairs (MHA) had ordered all the state governments to identify and monitor Rohingya refugees.
It had said that the Centre viewed the infiltration of Rohingyas from Rakhine state of Myanmar into Indian territory as a burden on the country's resources, aggravating the security challenges to the country.
Hundreds of thousands of Rohingya Muslims, described by the UN as the most persecuted minority in the world, fled their homes in 2017 to escape an alleged crackdown by the Myanmarese military.
Many of them reached India via Bangladesh.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)