Monty Python lose Spamalot court battle