The Royal Court deserves a long and loud round of applause for the way it has responded to revelations about sexual harassment