The official website for The Settlers of Catan

Question about The “Age of Enlightenment” Expansion City Palace - Can I reduce the building costs by means of a Building Crane, and if yes, can I also save a star?

Answer

No. The stars are not considered resources as described in the context of the Building Crane rule, and since only 3 resources are required to build the City Palace, you can't use the Building Crane.