All 12 of the members in the Spanish "top court" (Constitutional Tribunal) are appointed by the king himself.
8 of them are proposed by the legislative branch (parliament and senate), 2 by the executive, and 2 by the judicial.
Whether that makes the tribunal as a whole independent from the government or not is an opinion I leave to the reader.