Cristiano Ronaldo avoided the waiting pack of media after appearing in a Spanish court to face allegations of tax evasion.