No. Fair compensation means that the company doesn't end up with a loss, and gets rewarded, but it doesn't mean "give them as much money as they could otherwise extract by exploiting the monopoly that the patent gives them on the market".
Patents are a form of artificial monopoly that only exists because the people (acting through their government as a representative of their will) decided to have them, and did so because they presumably are a net social benefit. Consequently, governments are not obligated to treat them as sacrosanct, and most certainly not in a case where they are not beneficial to public interests.
It's a social contract between the people and the enlightened. The people always win on a long enough timeline. But the deal is there should be some sliver of reward for a brief window of time to those who bring permanent light into our lives.