The official website for The Settlers of Catan

Question about Special Cards Axel the Innovator - Do I receive gold if the new building costs less?

Answer

No. If the removed building costs more than the new building you have built, you don't receive gold.