These laws usually have loopholes, in the case of the job no longer existing. Which it is very easy to make a job no longer exist, especially in a 3 year time-span.
I'll second this. After I had to disclose a disability during a merger between two companies, HR moved me into a role they made just for me. That role was removed once a merger was complete.