Originally Posted by
the810
Timatic matters to the airline. Since OP will have a connecting flight, they will be allowed to board the flight to AMS - airline won't care whether they can go to a hotel during the layover. For the entry itself and access to the hotel, law matters, not Timatic. The law is not entirely clear on this, which is why I'd contact authorities rather than rely on strangers' interpretations.
Airline will not ask OP whether they plan to leave airside or not during the transit in AMS, thus will have no reason to deny boarding as along as the ticket includes a connecting flight within 24 hours.
How would the OP get past immigration at AMS to go landside?
I think the answer is they may be ok boarding if the airline expects them to be staying airside (AMS airside is open 24 hours) during the transit, but the OP's actual plan to go landside will not work since they can't enter the Netherlands.