While on vacation in Costa Rica, our tour guide was quite candid while talking about government in his country. There were many things I found myself admiring as he spoke. I was also shocked with some of the problems he described they were having.
If my understanding is correct (all errors my own), they have a court that’s akin to our Supreme Court. When legislation is passed, affected people lodge complaints which are heard by this court.