Another way to say "a king is for ceremonial functions." is "ceremonial functions are performed by a king"