Holy Ghost! wrote on Sat, Jan 14, 2012 05:30 PM UTC:
This made me think of this example.
Lets imagine king is not into check, he will not end into check after
castling, but the square he will use to make castling is.
In this case he would be able to just not move his king and avoid check.
So, by making the castle he would not be avoiding check.