The Fifth Avenue hotel sued the city in 2013 for placing a block-long kiosk across the street from its entrance, claiming it was an eyesore.

But a five-judge appellate panel wrote in a unanimous decision that the city “took the requisite ‘hard look’ at the bike program’s potential environmental impacts, including the historical and architectural resource.”

The hotel’s attorney, Steven Sladkus, said he was baffled by the ruling.

“I don’t understand how there is not an aesthetic impact . . . by putting a bright- blue bike rack with Citibank advertising in front of a landmark,” he said.

He’s discussing a possible appeal with his client.

A tourist standing outside The Plaza on Tuesday agreed that the rack is unsightly.