At least 169 Macau prisoners have registered as voters for the legislative election in September. Prisoners in Hong Kong are still uncertain about their electoral rights - even after a court ruling last month declared that the present system barring inmates from voting breached human rights laws. But Macau's Public Administration and Civil Service Bureau said every permanent resident in jail was entitled to vote unless a court had deprived them of their political rights. Bureau staff last month entered the Macau Prison to register every inmate who had expressed an interest in voting. Prison authorities had earlier sent in social workers to gauge each inmate's interest in casting their ballot. By Tuesday, 169 prisoners had been registered. Registration closed on Wednesday. The prison held 428 Macau residents at the end of June. Hong Kong judge Mr Justice Andrew Cheung Kui-nung last month quashed a ban on prisoner voting in a landmark decision that paves the way for thousands of inmates to cast ballots. In his ruling he wrote that officials had never justified the 'arbitrary' ban, so it breached prisoners' constitutional rights. Legislator 'Long Hair' Leung Kwok-hung helped prisoners apply for the judicial review which led to the court judgment. The government later said it was considering barring inmates from voting, depending on the lengths of their jail terms. Secretary for Constitutional and Mainland Affairs Stephen Lam Sui-lung told lawmakers the government respected the court's ruling and would consult the public and the legislature about how to change the system.