No. Check is check, even if the checking piece cannot legally move. There is extensive discussion of this in the answers to the question illegal (?) move can put a king in check?.
dfan
- 14.8k
- 42
- 68