This is true. Someone traded me a hacked Pokemon one time through link trade (it works there) and when I tried to trade the Pokemon through GTS it always told me I couldn't deposit the Pokemon. Some hacks can be so bad that they won't work on link trade either.