If I could add to that, there is a general provision in the TRIPS article that allows for compulsory licensing in the domestic setting. It stipulates that when you allow an authorization or when you allow for compulsory licensing, you must have a feature so you can review it.
You must also have a feature that provides the patentee with an opportunity to bring forth evidence showing that the circumstances that gave rise to the issuance of a compulsory licence no longer exist and so the authority should terminate. It's a general proposition that is designed to defend the intellectual property system.