Former Everton midfielder Davy Klaassen was allowed to stay on after initially being sent off while playing for Ajax during a friendly game against Stuttgart.