On Tuesday, the U.S. Supreme Court looked at two cases that fit the international zeitgeist of the past few days. While in Australia, Novak Djokovic’s immigration detention has unintentionally shed light on the plight of refugees who have been in detention for close to a decade, the justices in Washington examined whether the government owes a bond hearing to certain immigrants in long-term detention.

The cases are Johnson v. Arteaga-Martinez and Garland v. Gonzalez. Both cases hinge on whether a bond hearing in front of an immigration judge is a must-have. While being allowed out on bond doesn’t change the person’s immigration status or shelter them from eventual deportation, it allows the person to avoid detention for the pendency of their case.