Thailand’s Constitutional Court is set to decide on Wednesday whether Prime Minister Prayut Chan-ocha should be disqualified for breaking ethical rules, a move that would see him ousted even after he’s repeatedly rejected calls by pro-democracy groups to resign.

The court will deliver its verdict on a petition filed through the lower house of parliament by opposition leader Sompong Amornvivat, who alleged that Prayuth’s use of military housing after his retirement from the army amounted to a special benefit forbidden by the constitution.

The former army chief took power in a 2014 coup and stayed as prime minister after elections last year, with the help of rules written in a constitution drafted while his junta held power. He’s facing growing calls for to resign from anti-government protesters, who have also demanded a rewriting of the constitution and monarchy reform.