Question: when was it established that time lords can change gender
Answer: The End of Time ( 2010 )