Speak with
Marid

Enter cave above
Marid and kill the
Queen
Then use
Sceptre near green vorted, without touching it

Take
Queen's grimoire from the chest

Speak with
Rognarak to finish the quest
Achievement: You will get
one of the Achievements, depending of what side You chose before and if You give
Queen's grimoire to
Rognarak or not.