Is en passant capture optional in a stalemate situation?

Sort:
Don1

https://www.chess.com/learn-how-to-play-chess#comment-60834105

 

Is gxh3 e.p. optional? 

justbefair

I don't think it's optional in that situation since it would be the only legal move.

I ran the computer analysis and it didn't show a draw.

Please provide a screenshot of what you were looking at.

Sred

It's not optional. If there is a legal move, it has to be executed. E.p is nothing special.

Don1

https://www.chess.com/learn-how-to-play-chess#comment-60834105

 

Don1
Sred wrote:

It's not optional. If there is a legal move, it has to be executed. E.p is nothing special.

I'm 50-50 !! just wanted to know the "official" rule !?