We figured this mosque on the palace grounds was for staff. It was beautiful, but nowhere near as grand as the minaret captured a few pictures back, which had to be for the private use of the sultan.
Also posted today from this small series on the royal palace, a bright gate, wide open: