The Unlawful Activities Prevention Act (UAPA) restricts the role of courts to examine the case of prosecution while considering grant of bail and precludes bail if prosecution version appears true on the face of it, retired Supreme Court judge Justice Gopala Gowda said on Saturday.